2020-10-21 10:12:00 +08:00
|
|
|
|
#ifndef __CCCOCOSSTUDIO_H__
|
|
|
|
|
#define __CCCOCOSSTUDIO_H__
|
|
|
|
|
|
|
|
|
|
/// The libeditor
|
|
|
|
|
#if (defined(WIN32) && defined(_WINDOWS)) || defined(WINRT) || defined(WP8)
|
2021-12-25 10:04:45 +08:00
|
|
|
|
# ifdef __MINGW32__
|
|
|
|
|
# include <string.h>
|
|
|
|
|
# endif
|
2020-10-21 10:12:00 +08:00
|
|
|
|
|
2022-07-16 10:43:05 +08:00
|
|
|
|
# if defined(AX_STATIC)
|
2021-12-25 10:04:45 +08:00
|
|
|
|
# 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
|
2020-10-21 10:12:00 +08:00
|
|
|
|
|
|
|
|
|
/* Define NULL pointer value */
|
2021-12-25 10:04:45 +08:00
|
|
|
|
# ifndef NULL
|
|
|
|
|
# ifdef __cplusplus
|
|
|
|
|
# define NULL 0
|
|
|
|
|
# else
|
|
|
|
|
# define NULL ((void*)0)
|
|
|
|
|
# endif
|
|
|
|
|
# endif
|
2020-10-21 10:12:00 +08:00
|
|
|
|
#elif defined(_SHARED_)
|
2021-12-25 10:04:45 +08:00
|
|
|
|
# define CCS_DLL __attribute__((visibility("default")))
|
2020-10-21 10:12:00 +08:00
|
|
|
|
#else
|
2021-12-25 10:04:45 +08:00
|
|
|
|
# define CCS_DLL
|
2020-10-21 10:12:00 +08:00
|
|
|
|
#endif
|
|
|
|
|
|
2021-12-31 12:12:40 +08:00
|
|
|
|
#include "base/hlookup.h"
|
2022-07-11 17:50:21 +08:00
|
|
|
|
#include "platform/CCPlatformMacros.h"
|
2021-12-31 12:12:40 +08:00
|
|
|
|
|
2020-10-21 10:12:00 +08:00
|
|
|
|
#endif /* __CCEXTENSIONEXPORT_H__*/
|