Version

menu_open
Wwise SDK 2023.1.4
AkAssert.h File Reference

Go to the source code of this file.

Classes

struct  AkStaticAssert< b >
 
struct  AkStaticAssert< true >
 

Macros

#define AKASSERT(Condition)   do { switch ( 0 ) { case 0: break; default: if ( !( Condition ) ) {} } } while ( 0 )
 
#define AKVERIFY(x)   ((void)(x))
 
#define AKASSERTD(Condition)   ((void)0)
 
#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
 

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise