diff --git a/core/cocos2d.h b/core/cocos2d.h index 648507f91a..1a0c01abb4 100644 --- a/core/cocos2d.h +++ b/core/cocos2d.h @@ -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__