| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
#ifndef _CLUSTER_PLUGIN_CONFIG_H_ |
|---|
| 28 |
#define _CLUSTER_PLUGIN_CONFIG_H_ |
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
#undef PACKAGE_BUGREPORT |
|---|
| 32 |
#undef PACKAGE_NAME |
|---|
| 33 |
#undef PACKAGE_STRING |
|---|
| 34 |
#undef PACKAGE_TARNAME |
|---|
| 35 |
#undef PACKAGE_VERSION |
|---|
| 36 |
|
|---|
| 37 |
#include <gadget/gadgetConfig.h> |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 |
#if defined(WIN32) || defined(WIN64) |
|---|
| 47 |
|
|---|
| 48 |
# if defined(__GNUC__) |
|---|
| 49 |
# undef _declspec |
|---|
| 50 |
# define _declspec(x) __declspec(x) |
|---|
| 51 |
# endif |
|---|
| 52 |
|
|---|
| 53 |
# define GADGET_CLUSTER_PLUGIN_EXPORT(__type) _declspec(dllexport) __type |
|---|
| 54 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_CLASS _declspec(dllexport) |
|---|
| 55 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_DATA(__type) _declspec(dllexport) __type |
|---|
| 56 |
# define GADGET_CLUSTER_PLUGIN_IMPORT(__type) _declspec(dllimport) __type |
|---|
| 57 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_DATA(__type) _declspec(dllimport) __type |
|---|
| 58 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_CLASS _declspec(dllimport) |
|---|
| 59 |
|
|---|
| 60 |
# define GADGET_CLUSTER_PLUGIN_EXTERN(__type) extern _declspec(dllexport) __type |
|---|
| 61 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT(__type) _declspec(dllexport) __type |
|---|
| 62 |
# define GADGET_CLUSTER_PLUGIN_EXTERN_DATA(__type) extern _declspec(dllexport) __type |
|---|
| 63 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT_DATA(__type) _declspec(dllexport) __type |
|---|
| 64 |
|
|---|
| 65 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK |
|---|
| 66 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK_DECL |
|---|
| 67 |
# define GADGET_CLUSTER_PLUGIN_STATIC_CALLBACK(__x) static __x |
|---|
| 68 |
|
|---|
| 69 |
#elif defined(GADGET_HAVE_GCC_VISIBILITY) |
|---|
| 70 |
|
|---|
| 71 |
# define GADGET_CLUSTER_PLUGIN_EXPORT(__type) __attribute__ ((visibility("default"))) __type |
|---|
| 72 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_CLASS __attribute__ ((visibility("default"))) |
|---|
| 73 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_DATA(__type) __attribute__ ((visibility("default"))) __type |
|---|
| 74 |
# define GADGET_CLUSTER_PLUGIN_IMPORT(__type) __type |
|---|
| 75 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_DATA(__type) __type |
|---|
| 76 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_CLASS |
|---|
| 77 |
|
|---|
| 78 |
# define GADGET_CLUSTER_PLUGIN_EXTERN(__type) extern __attribute__ ((visibility("default"))) __type |
|---|
| 79 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT(__type) __attribute__ ((visibility("default"))) __type |
|---|
| 80 |
# define GADGET_CLUSTER_PLUGIN_EXTERN_DATA(__type) extern __attribute__ ((visibility("default"))) __type |
|---|
| 81 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT_DATA(__type) __attribute__ ((visibility("default"))) __type |
|---|
| 82 |
|
|---|
| 83 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK |
|---|
| 84 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK_DECL |
|---|
| 85 |
# define GADGET_CLUSTER_PLUGIN_STATIC_CALLBACK(__x) static __x |
|---|
| 86 |
|
|---|
| 87 |
#else |
|---|
| 88 |
|
|---|
| 89 |
# define GADGET_CLUSTER_PLUGIN_EXPORT(__type) __type |
|---|
| 90 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_CLASS |
|---|
| 91 |
# define GADGET_CLUSTER_PLUGIN_EXPORT_DATA(__type) __type |
|---|
| 92 |
# define GADGET_CLUSTER_PLUGIN_IMPORT(__type) __type |
|---|
| 93 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_CLASS |
|---|
| 94 |
# define GADGET_CLUSTER_PLUGIN_IMPORT_DATA(__type) __type |
|---|
| 95 |
|
|---|
| 96 |
# define GADGET_CLUSTER_PLUGIN_EXTERN(__type) extern __type |
|---|
| 97 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT(__type) __type |
|---|
| 98 |
# define GADGET_CLUSTER_PLUGIN_EXTERN_DATA(__type) extern __type |
|---|
| 99 |
# define GADGET_CLUSTER_PLUGIN_IMPLEMENT_DATA(__type) __type |
|---|
| 100 |
|
|---|
| 101 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK |
|---|
| 102 |
# define GADGET_CLUSTER_PLUGIN_CALLBACK_DECL |
|---|
| 103 |
# define GADGET_CLUSTER_PLUGIN_STATIC_CALLBACK(__x) static __x |
|---|
| 104 |
|
|---|
| 105 |
#endif |
|---|
| 106 |
|
|---|
| 107 |
#ifdef _GADGET_CLUSTER_PLUGIN_BUILD_ |
|---|
| 108 |
# define GADGET_CLUSTER_PLUGIN_API(__type) GADGET_CLUSTER_PLUGIN_EXPORT(__type) |
|---|
| 109 |
# define GADGET_CLUSTER_PLUGIN_CLASS_API GADGET_CLUSTER_PLUGIN_EXPORT_CLASS |
|---|
| 110 |
# define GADGET_CLUSTER_PLUGIN_DATA_API(__type) GADGET_CLUSTER_PLUGIN_EXPORT_DATA(__type) |
|---|
| 111 |
#else |
|---|
| 112 |
# define GADGET_CLUSTER_PLUGIN_API(__type) GADGET_CLUSTER_PLUGIN_IMPORT(__type) |
|---|
| 113 |
# define GADGET_CLUSTER_PLUGIN_CLASS_API GADGET_CLUSTER_PLUGIN_IMPORT_CLASS |
|---|
| 114 |
# define GADGET_CLUSTER_PLUGIN_DATA_API(__type) GADGET_CLUSTER_PLUGIN_IMPORT_DATA(__type) |
|---|
| 115 |
#endif |
|---|
| 116 |
|
|---|
| 117 |
#endif |
|---|