#include <revolution/os.h>
void ASSERTMSG(int expression, char* message, ...);
|
Conditional expression used for checking if the _DEBUG macro is defined. |
|
Pointer to a null-terminated character string to display if expression is FALSE. |
... |
Optional argument. |
None.
When the _DEBUG macro is defined and if expression is FALSE, ASSERTMSG displays a failure message. message displays in the debug log window, and the console is halted.
If the _DEBUG macro is undefined, ASSERTMSG does nothing.
Error Functions, ASSERT, OSHalt,OSReport
03/01/2006 Initial version.