Next: 4.3 Global variables Up: 4. The libonyx library Previous: 4.1 Compilation Contents Index

# 4.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.
cw_fp64_t:
  64 bit IEEE floating point variable.