typedef int nb_boolean_t;
Define nb_boolean_t to be whatever makes Booleans efficient on your architecture and compiler. For many 8-bit systems, unsigned char is an obvious choice, and for 16-bit and 32-bit systems int is an obvious choice.