Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17
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