Go to the documentation of this file. 6 #ifndef __LIBSWIFFT_COMMON_H__ 7 #define __LIBSWIFFT_COMMON_H__ 13 #define LIBSWIFFT_QUOTE0(x) #x 14 #define LIBSWIFFT_QUOTE(x) LIBSWIFFT_QUOTE0(x) 16 #define LIBSWIFFT_CONCAT0(x1,x2) x1##x2 17 #define LIBSWIFFT_CONCAT(x1,x2) LIBSWIFFT_CONCAT0(x1,x2) 19 #define LIBSWIFFT_INLINE inline __attribute__((always_inline)) 22 #define LIBSWIFFT_BEGIN_EXTERN_C extern "C" { 23 #define LIBSWIFFT_END_EXTERN_C } 25 #define LIBSWIFFT_BEGIN_EXTERN_C 26 #define LIBSWIFFT_END_EXTERN_C 30 #define LIBSWIFFT_STATIC_ASSERT(expr, iden) static_assert(expr, LIBSWIFFT_QUOTE(iden)) 32 #define LIBSWIFFT_STATIC_ASSERT(expr, iden) typedef char LIBSWIFFT_CONCAT(libswifft_static_assert_, iden)[(expr) ? 1 : -1] 35 #define LIBSWIFFT_RESTRICT __restrict__