 |
AGX Dynamics
2.37.3.2
|
Go to the documentation of this file. 20 #include <agx/config.h> 21 #include <hedley/hedley.h> 23 #define AGX_STATIC_ASSERT(X) static_assert(X, #X) 25 #if !defined(AGX_DEBUG) && !defined(NDEBUG) 29 #define AGX_STRINGIFY(A) #A 30 #define AGX_TOSTRING(x) AGX_STRINGIFY(x) 38 #define _AGX_CONCAT(x,y) x ## y 39 #define AGX_CONCAT(x,y) _AGX_CONCAT(x,y) 46 #define AGX_NOEXCEPT noexcept 51 #define AGX_ITERATE_INDEX_SET(set, i) typename SetT::iterator _agx_set_iterator = set.begin(), _agx_set_end = set.end(); for (typename SetT::Type i; (_agx_set_iterator != _agx_set_end) && ((i = *_agx_set_iterator), true); ++_agx_set_iterator) 54 # define AGX_FORCE_INLINE __forceinline 55 #elif defined(__GNUC__) && !defined(AGX_DEBUG) 56 # define AGX_FORCE_INLINE inline __attribute__((always_inline)) 58 # define AGX_FORCE_INLINE inline 62 #define AGX_ALIGNED( t, a ) __declspec( align( a ) ) t 64 #define AGX_ALIGNED( t, a ) t __attribute__ ((aligned (a))) 67 #ifdef CALLABLE_GENERATOR 68 #define CALLABLE __attribute__((annotate("CALLABLE"))) 69 #define CALLABLE_UNIT(param) __attribute__((annotate("CALLABLE_UNIT " param))) 70 #define CALLABLE_IGNORE __attribute__((annotate("CALLABLE_IGNORE"))) 73 #define CALLABLE_UNIT(param) 74 #define CALLABLE_IGNORE 79 #if defined(__GNUC__) && ( __GNUC__ >= 7) || defined(__clang__) && ( __clang_major__ >= 10 ) 80 #define AGX_MAYBE_UNUSED [[maybe_unused]] 82 #define AGX_MAYBE_UNUSED 86 #define AGX_DEPRECATED(since) 87 #define AGX_DEPRECATED_FOR(since, replacement) 89 #define AGX_DEPRECATED(since) HEDLEY_DEPRECATED(since) 90 #define AGX_DEPRECATED_FOR(since, replacement) HEDLEY_DEPRECATED_FOR(since, replacement) 95 #ifdef AGX_HIDE_INTERNAL_DOCUMENTATION 96 #define DOXYGEN_START_INTERNAL_BLOCK() 97 #define DOXYGEN_END_INTERNAL_BLOCK() 99 #define DOXYGEN_START_INTERNAL_BLOCK() 100 #define DOXYGEN_END_INTERNAL_BLOCK()