|
ReXGlue SDK
|
#include <assert.h>#include <cstdio>#include <cstdlib>#include <exception>#include <string>#include <utility>#include <rex/platform.h>Go to the source code of this file.
Namespaces | |
| namespace | rex |
Macros | |
| #define | REX_ASSERT(cond, ...) |
| #define | REX_ASSERT_ALWAYS(...) |
| #define | REX_UNHANDLED_CASE(var) |
| #define REX_ASSERT | ( | cond, | |
| ... ) |
Checks a condition in Debug. Release does not evaluate the condition.
| ... | Optional message. |
| #define REX_ASSERT_ALWAYS | ( | ... | ) |
Aborts in Debug on a path that must not run. Does nothing in Release.
| ... | Optional message. |
| #define REX_UNHANDLED_CASE | ( | var | ) |
Aborts in Debug when a switch reaches a value it does not handle. Does nothing in Release.