mirror of https://github.com/axmolengine/axmol.git
Add more compatible macros to cocos2d.h [skip ci]
This commit is contained in:
parent
dec34b4471
commit
325fc583e9
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue