Go to the documentation of this file.
37 #ifndef CHECKASM_ATTRIBUTES_H
38 #define CHECKASM_ATTRIBUTES_H
53 #ifndef CHECKASM_PRINTF
55 #if defined(__MINGW32__) && !defined(__clang__)
56 #define CHECKASM_PRINTF(fmt, attr) \
57 __attribute__((__format__(__gnu_printf__, fmt, attr)))
59 #define CHECKASM_PRINTF(fmt, attr) \
60 __attribute__((__format__(__printf__, fmt, attr)))
63 #define CHECKASM_PRINTF(fmt, attr)
79 #ifdef CHECKASM_BUILDING_DLL
80 #define CHECKASM_API __declspec(dllexport)
84 #elif defined(__OS2__)
85 #define CHECKASM_API __declspec(dllexport)
88 #define CHECKASM_API __attribute__((visibility("default")))