Add more compatible macros to cocos2d.h [skip ci]

This commit is contained in:
halx99 2022-07-26 22:50:51 +08:00
parent dec34b4471
commit 325fc583e9
1 changed files with 15 additions and 0 deletions

View File

@ -53,4 +53,19 @@ namespace cocos2d = axis;
#define USING_NS_CC USING_NS_AX
#define CC_SAFE_RELEASE AX_SAFE_RELEASE
#define CC_SAFE_RELEASE_NULL AX_SAFE_RELEASE_NULL
#define CC_SAFE_DELETE AX_SAFE_DELETE
#define CCASSERT AXASSERT
#define CC_CONSTRUCTOR_ACCESS public
#define CCLOG AXLOG
#define CCLOGINFO AXLOGINFO
#define CCLOGWARN AXLOGWARN
#define CCLOGERROR AXLOGERROR
#define CC_DEPRECATED_ATTRIBUTE AX_DEPRECATED_ATTRIBUTE
#define CC_SAFE_RETAIN AX_SAFE_RETAIN
#endif // __COCOS2D_H__