Table of Contents

include/AK/Tools/Common/AkAssert.h File Reference

Go to the source code of this file.

Classes

struct   AkStaticAssert< b >
struct   AkStaticAssert< true >

Defines

#define  AKASSERT(Condition)   ((void)0)
#define  AKASSERTD(Condition)   ((void)0)
#define  AKVERIFY(x)   ((void)(x))
#define  AKASSERT_RANGE(Value, Min, Max)   (AKASSERT(((Value) >= (Min)) && ((Value) <= (Max))))
#define  AKASSERTANDRETURN(__Expression, __ErrorCode)
#define  AKASSERTPOINTERORFAIL(__Pointer)   AKASSERTANDRETURN( __Pointer != NULL, AK_Fail )
#define  AKASSERTSUCCESSORRETURN(__akr)   AKASSERTANDRETURN( __akr == AK_Success, __akr )
#define  AKASSERTPOINTERORRETURN(__Pointer)
#define  AKSTATICASSERT(__expr__, __msg__)   typedef char __AKSTATICASSERT__[(__expr__)?1:-1]
#define  DEFINEDUMMYASSERTHOOK