Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
AssertWarn Macro
Syntax
C++
#define AssertWarn(x, y) { TORQUE_UNUSED(x); TORQUE_UNUSED(y); }

! Assert that the statement x is true, and continue processing. 

If the statment x is true, continue processing. 

If the statement x is false, log the file and line where the assert occured, the message y and continue processing. 

These asserts are only present in DEBUG builds.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!