libnxter
0.1
|
Debugging utility macros. More...
Go to the source code of this file.
Debugging utility macros.
To use the debugging utility macros, define ENABLE_DEBUG somewhere before including this file and use ASSERT() or WARNING() macros within function definitions (especially, in the begining of function definitions to assert input arguments' sanity). If ENABLE_DEBUG is not defined, they do nothing and the code will be free of any debugging overheads.
Same goes for TEST() macro. Define ENABLE_TEST somewhere before including this file and use the macro to verify test results.
Definition in file Debug.nxc.