16 lines
411 B
C++
16 lines
411 B
C++
#ifdef __cplusplus
|
|
#define EXTC extern "C"
|
|
#define START_EXTC_GRP extern "C" {
|
|
#define END_EXTC_GRP }
|
|
#else
|
|
#define EXTC
|
|
#define START_EXTC_GRP
|
|
#define END_EXTC_GRP
|
|
#endif // _CPLUSPLUS
|
|
|
|
#ifdef __cplusplus
|
|
# define _FFI_PLUGIN extern "C" __attribute__((visibility("default"))) __attribute__((used))
|
|
#else
|
|
# define _FFI_PLUGIN __attribute__((visibility("default"))) __attribute__((used))
|
|
#endif // __cplusplus
|