#ifndef PTX_MACROS_H_INCLDUED #define PTX_MACROS_H_INCLDUED #include "config.h" #define UNUSED(...) ((void)((void) __VA_ARGS__)) #define NO_OP_DECL _Static_assert(1, "") #define PTX_UNAVAILABLE_DEF(_def) /* definition hidden */ NO_OP_DECL #ifdef PTX_PLUGIN #define PTX_API PTX_IMPORT #define PTX_INTERNAL(_def) NO_OP_DECL #else #define PTX_API PTX_EXPORT #define PTX_INTERNAL(_def) _def #endif #define PTX_STR(_x) PTX_STR2(_x) #define PTX_STR2(_x) #_x #endif /* include guard */