#ifndef __CCCOCOSSTUDIO_H__ #define __CCCOCOSSTUDIO_H__ /// The libeditor #if (defined(WIN32) && defined(_WINDOWS)) || defined(WINRT) || defined(WP8) #ifdef __MINGW32__ #include #endif #if defined(CC_STATIC) #define CCS_DLL #else #if defined(_USRCCS_DLL) #define CCS_DLL __declspec(dllexport) #else /* use a DLL library */ #define CCS_DLL __declspec(dllimport) #endif #endif /* Define NULL pointer value */ #ifndef NULL #ifdef __cplusplus #define NULL 0 #else #define NULL ((void *)0) #endif #endif #elif defined(_SHARED_) #define CCS_DLL __attribute__((visibility("default"))) #else #define CCS_DLL #endif /// The specific revision loader #if (defined(WIN32) && defined(_WINDOWS)) || defined(WINRT) || defined(WP8) #ifdef __MINGW32__ #include #endif #if defined(CC_STATIC) #define CCS_LDR_DLL #else #if defined(_USRCCS_LDR_DLL) #define CCS_LDR_DLL __declspec(dllexport) #else /* use a DLL library */ #define CCS_LDR_DLL __declspec(dllimport) #endif #endif /* Define NULL pointer value */ #ifndef NULL #ifdef __cplusplus #define NULL 0 #else #define NULL ((void *)0) #endif #endif #elif defined(_SHARED_) #define CCS_LDR_DLL __attribute__((visibility("default"))) #else #define CCS_LDR_DLL #endif #endif /* __CCEXTENSIONEXPORT_H__*/