From 94361730393f0261a0cd15191d6bfd7f44a7016f Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 20 Feb 2014 10:58:37 +0800 Subject: [PATCH] issue #4058: typedef Ref Object; and deprecate it. --- cocos/2d/CCDeprecated.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos/2d/CCDeprecated.h b/cocos/2d/CCDeprecated.h index 7200183214..89808e5c59 100644 --- a/cocos/2d/CCDeprecated.h +++ b/cocos/2d/CCDeprecated.h @@ -534,6 +534,7 @@ CC_DEPRECATED_ATTRIBUTE static inline AffineTransform CCAffineTransformIdentity( // CC prefix compatibility CC_DEPRECATED_ATTRIBUTE typedef Ref CCObject; +CC_DEPRECATED_ATTRIBUTE typedef Ref Object; CC_DEPRECATED_ATTRIBUTE typedef Event CCEvent; CC_DEPRECATED_ATTRIBUTE typedef DataVisitor CCDataVisitor; CC_DEPRECATED_ATTRIBUTE typedef PrettyPrinter CCPrettyPrinter;