![]() TGE Version 1.5.2 | ||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||
engine/platform/platformAssert.h File Reference
Define DocumentationValue: { if ((x)==0) \ { if ( PlatformAssert::processAssert(PlatformAssert::Fatal_ISV, __FILE__, __LINE__, y) ) { Platform::debugBreak(); } } } If the statement x is true, continue processing. If the statement x is false, log the file and line where the assert occurred, the message y and exit the program displaying a dialog containing the message y. These asserts are present in both OPTIMIZED and DEBUG builds. This assert should only be used for rare conditions where the application cannot continue execution without seg-faulting and you want to display a nice exit message.
Function Documentation
Sprintf style string formating into a fixed temporary buffer.
U8 a = 5; S16 b = -10; char *output = avar("hello %s! a=%u, b=%d", "world"); ouput = "hello world! a=5, b=-10"
|