Orxonox
0.0.5 Codename: Arcturus
|
Declaration of custom assertion facilitiesMore...
Go to the source code of this file.
Macros | |
#define | OrxAssert(condition, errorMessage) |
Run time assertion like assert(), but with an embedded message. More... | |
#define | OrxVerify(condition, errorMessage) |
Works like OrxAssert in debug mode, but also checks the condition in release mode (no abort() triggered then). More... | |
Declaration of custom assertion facilities
#define OrxAssert | ( | condition, | |
errorMessage | |||
) |
Run time assertion like assert(), but with an embedded message.
The message will be printed as error with orxout(user_error).
You can use the same magic here as you can with ThrowException
#define OrxVerify | ( | condition, | |
errorMessage | |||
) |
Works like OrxAssert in debug mode, but also checks the condition in release mode (no abort() triggered then).
The message will be printed as error with orxout(user_error).
You can use the same magic here as you can with ThrowException