![]() |
GemaCoreLib
The GeMA Core library
|
Declaration of the GmSimulationDataCheckForCancelation macro. More...
Go to the source code of this file.
Macros | |
#define | GmSimulationDataCheckForCancelation(simData, msg) |
Macro for checking for a cancelation request, from the main thread, and generating a Lua Error in that case. More... | |
Declaration of the GmSimulationDataCheckForCancelation macro.
#define GmSimulationDataCheckForCancelation | ( | simData, | |
msg | |||
) |
Macro for checking for a cancelation request, from the main thread, and generating a Lua Error in that case.
Implemented as a macro to make sure that the message is NOT constructed unless a cancelation is in order. The do ... while(0) idiom makes sure that it can be used inside an if() with an ending ;