#include <revolution/os.h> void ASSERTMSG(int expression, char* message, ...);
| expression | Conditional format used to check when the _DEBUG macro is defined. |
|---|---|
| message | Pointer to the null-terminated character string to be displayed if expression is FALSE. |
| ... | Option argument. |
None.
When the _DEBUG macro is defined and if expression is FALSE, ASSERTMSG displays message. The message includes the text in expression. It is displayed in the debug log window, and the console is halted.
If the _DEBUG macro is not defined, ASSERTMSG will do nothing.
Error Functions, ASSERT, OSHalt, OSReport
2006/03/01 Initial version.
CONFIDENTIAL