Debugging tools (original) (raw)

next up previous contents
Next: Linked lists Up: Miscellaneous definitions Previous: Types with specific bit Contents The macro gan_assert() provides a mechanism similar to assert()except that it allows a user-defined message to be printed when the test fails. When NDEBUG is #define'd gan_assert() will have no effect. The global variable gan_debug determines whether to print certain debugging messages. It is only available when NDEBUGis not defined.


2006-03-17