mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-27 05:50:27 +00:00
6569f1d255
- CGLayer, CGPattern C interface added
28 lines
493 B
C
28 lines
493 B
C
|
|
#ifdef __cplusplus
|
|
|
|
#if defined(__WIN32__)
|
|
#if defined(COREDATA_INSIDE_BUILD)
|
|
#define COREDATA_EXPORT extern "C" __declspec(dllexport)
|
|
#else
|
|
#define COREDATA_EXPORT extern "C" __declspec(dllimport)
|
|
#endif
|
|
#else
|
|
#define COREDATA_EXPORT extern "C"
|
|
#endif
|
|
|
|
#else
|
|
|
|
#if defined(__WIN32__)
|
|
#if defined(COREDATA_INSIDE_BUILD)
|
|
#define COREDATA_EXPORT __declspec(dllexport) extern
|
|
#else
|
|
#define COREDATA_EXPORT __declspec(dllimport) extern
|
|
#endif
|
|
#else
|
|
#define COREDATA_EXPORT extern
|
|
#endif
|
|
|
|
#endif
|
|
|