diff --git a/core/cocos2d.h b/core/cocos2d.h index 7e5b95c698..1650e91929 100644 --- a/core/cocos2d.h +++ b/core/cocos2d.h @@ -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__