mirror of https://github.com/axmolengine/axmol.git
Add more compatible macro [skip ci]
This commit is contained in:
parent
d487b3128c
commit
a4fae9dd57
|
@ -57,6 +57,7 @@ namespace cocos2d = ax;
|
||||||
#define CC_SAFE_RELEASE_NULL AX_SAFE_RELEASE_NULL
|
#define CC_SAFE_RELEASE_NULL AX_SAFE_RELEASE_NULL
|
||||||
#define CC_SAFE_DELETE AX_SAFE_DELETE
|
#define CC_SAFE_DELETE AX_SAFE_DELETE
|
||||||
#define CCASSERT AXASSERT
|
#define CCASSERT AXASSERT
|
||||||
|
#define CC_ASSERT AX_ASSERT
|
||||||
#define CC_CONSTRUCTOR_ACCESS public
|
#define CC_CONSTRUCTOR_ACCESS public
|
||||||
|
|
||||||
#define CCLOG AXLOG
|
#define CCLOG AXLOG
|
||||||
|
@ -68,4 +69,16 @@ namespace cocos2d = ax;
|
||||||
|
|
||||||
#define CC_SAFE_RETAIN AX_SAFE_RETAIN
|
#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__
|
#endif // __COCOS2D_H__
|
||||||
|
|
Loading…
Reference in New Issue