Next: , Previous: , Up: objects misc   [Index]


13.26.2 Macros extracting void *

Preprocessor Macro: void * IK_POINTER_FROM_POINTER_OR_FALSE (ikptr_t obj)
Preprocessor Macro: void * IK_VOIDP_FROM_POINTER_OR_FALSE (ikptr_t obj)

Given #f or a pointer object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_BYTEVECTOR_OR_FALSE (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_BYTEVECTOR_OR_FALSE (ikptr_t obj)

Given #f or a bytevector object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_MBLOCK_OR_FALSE (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_MBLOCK_OR_FALSE (ikptr_t obj)

Given #f or a memory-block object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_BYTEVECTOR_OR_POINTER (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_BYTEVECTOR_OR_POINTER (ikptr_t obj)

Given a bytevector object or a pointer object return a void * pointer referencing the data.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_BYTEVECTOR_OR_POINTER_OR_FALSE (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_BYTEVECTOR_OR_POINTER_OR_FALSE (ikptr_t obj)

Given #f or a bytevector object or a pointer object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_POINTER_OR_MBLOCK (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_POINTER_OR_MBLOCK (ikptr_t obj)

Given a pointer object or memory-block object return a void * pointer referencing the data.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_POINTER_OR_MBLOCK_OR_FALSE (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_POINTER_OR_MBLOCK_OR_FALSE (ikptr_t obj)

Given #f or a pointer object or a memory-block object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_BYTEVECTOR_OR_POINTER_OR_MBLOCK (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_BYTEVECTOR_OR_POINTER_OR_MBLOCK (ikptr_t obj)

Given a bytevector object or a pointer object or a memory-block object return a void * pointer referencing the data.

Preprocessor Macro: ikptr_t IK_POINTER_FROM_BYTEVECTOR_OR_POINTER_OR_MBLOCK_OR_FALSE (ikptr_t obj)
Preprocessor Macro: ikptr_t IK_VOIDP_FROM_BYTEVECTOR_OR_POINTER_OR_MBLOCK_OR_FALSE (ikptr_t obj)

Given #f or a bytevector object or a pointer object or a memory-block object return a void * pointer referencing the data; when obj is #f: the returned value is NULL.


Next: , Previous: , Up: objects misc   [Index]