 |
AGX Dynamics 2.41.3.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
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
78 #define AGX_DEPRECATED(since)
79 #define AGX_DEPRECATED_FOR(since, replacement)
81 #define AGX_DEPRECATED(since) HEDLEY_DEPRECATED(since)
82 #define AGX_DEPRECATED_FOR(since, replacement) HEDLEY_DEPRECATED_FOR(since, replacement)
87#ifdef AGX_HIDE_INTERNAL_DOCUMENTATION
88 #define DOXYGEN_START_INTERNAL_BLOCK()
89 #define DOXYGEN_END_INTERNAL_BLOCK()
91 #define DOXYGEN_START_INTERNAL_BLOCK()
92 #define DOXYGEN_END_INTERNAL_BLOCK()