 |
Aether3D Game Engine
|
4 #if (defined( _MSC_VER ) && (_MSC_VER >= 1900)) || defined(__APPLE__) || defined(__GNUC__)
5 #define ALIGNAS( n ) alignas( n )
7 #define ALIGNAS( n ) __declspec( align( n ) )
12 #define Stringize( L ) #L
13 #define MakeString( M, L ) M(L)
15 MakeString( Stringize, __LINE__ )
17 __FILE__ "(" $Line "): TODO: "
19 #define A_TODO(msg) __pragma( message(Todo msg) )
21 #define PRAGMA_MESSAGE(x) _Pragma(#x)
22 #define A_TODO(msg) PRAGMA_MESSAGE(message msg)
25 #define AE3D_SAFE_RELEASE(x) if (x) { x->Release(); x = nullptr; }
26 #define AE3D_CHECK_D3D(x, msg) if (x != S_OK) { ae3d::System::Assert( false, msg ); }