Next: 3.3 Global variables Up: 3. The libonyx library Previous: 3.1 Compilation Contents Index

# 3.2 Types

libonyx is careful to use the following data types rather than the built-in types (other than when using system library functions and string pointers (char *)) to allow easy porting and explicit knowledge of variable sizes:

cw_bool_t:
  Boolean, either FALSE or TRUE.
cw_sint8_t:
  Signed 8 bit variable.
cw_uint8_t:
  Unsigned 8 bit variable.
cw_sint16_t:
  Signed 16 bit variable.
cw_uint16_t:
  Unsigned 16 bit variable.
cw_sint32_t:
  Signed 32 bit variable.
cw_uint32_t:
  Unsigned 32 bit variable.
cw_sint64_t:
  Signed 64 bit variable.
cw_uint64_t:
  Unsigned 64 bit variable.