 |
Blender V5.0
|
Go to the documentation of this file.
19# define alloca _alloca
22#if (defined(__GNUC__) || defined(__clang__)) && defined(__cplusplus)
25template<
typename T>
static inline T decltype_helper(
T x)
29#define typeof(x) decltype(decltype_helper(x))
35# define BLI_INLINE static __forceinline
37# define BLI_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
41# define BLI_INLINE_METHOD __forceinline
43# define BLI_INLINE_METHOD inline __attribute__((always_inline)) __attribute__((__unused__))
47# define BLI_NOINLINE __attribute__((noinline))
48#elif defined(_MSC_VER)
49# define BLI_NOINLINE __declspec(noinline)