Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef INCLUDED_LIBREVENGE_LIBREVENGE_API_H
00022 #define INCLUDED_LIBREVENGE_LIBREVENGE_API_H
00023
00024 #ifdef DLL_EXPORT
00025 #ifdef LIBREVENGE_BUILD
00026 #define REVENGE_API __declspec(dllexport)
00027 #else
00028 #define REVENGE_API __declspec(dllimport)
00029 #endif
00030 #else // !DLL_EXPORT
00031 #ifdef LIBREVENGE_VISIBILITY
00032 #define REVENGE_API __attribute__((visibility("default")))
00033 #else
00034 #define REVENGE_API
00035 #endif
00036 #endif
00037
00038 #ifdef __GNUC__
00039 #define REVENGE_ATTRIBUTE_PRINTF(fmt, arg) __attribute__((format(printf, fmt, arg)))
00040 #else
00041 #define REVENGE_ATTRIBUTE_PRINTF(fmt, arg)
00042 #endif
00043
00044 #endif
00045
00046