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


13.4 Boolean objects

Preprocessor Macro: int IK_IS_BOOLEAN (ikptr_t obj)

If obj is IK_FALSE or IK_TRUE return true, else return zero.

Preprocessor Macro: int IK_BOOLEAN_TO_INT (ikptr_t obj)

If obj is IK_FALSE return 0, else return 1.

Preprocessor Macro: ikptr_t IK_BOOLEAN_FROM_INT (int val)

If val is 0 return IK_FALSE, else return IK_TRUE.