Add more compatible macro [skip ci]

This commit is contained in:
halx99 2023-03-04 15:48:33 +08:00
parent d487b3128c
commit a4fae9dd57
1 changed files with 13 additions and 0 deletions

View File

@ -57,6 +57,7 @@ namespace cocos2d = ax;
#define CC_SAFE_RELEASE_NULL AX_SAFE_RELEASE_NULL
#define CC_SAFE_DELETE AX_SAFE_DELETE
#define CCASSERT AXASSERT
#define CC_ASSERT AX_ASSERT
#define CC_CONSTRUCTOR_ACCESS public
#define CCLOG AXLOG
@ -68,4 +69,16 @@ namespace cocos2d = ax;
#define CC_SAFE_RETAIN AX_SAFE_RETAIN
#define CC_SYNTHESIZE_READONLY AX_SYNTHESIZE_READONLY
#define CC_SYNTHESIZE AX_SYNTHESIZE
#define CC_PROPERTY AX_PROPERTY
#define CC_CALLBACK_0 AX_CALLBACK_0
#define CC_CALLBACK_1 AX_CALLBACK_1
#define CC_CALLBACK_2 AX_CALLBACK_2
#define CC_SCHEDULE_SELECTOR AX_SCHEDULE_SELECTOR
#define CC_INVALID_INDEX AX_INVALID_INDEX
#endif // __COCOS2D_H__