issue #4058: typedef Ref Object; and deprecate it.

This commit is contained in:
James Chen 2014-02-20 10:58:37 +08:00
parent 0ea27d8543
commit 9436173039
1 changed files with 1 additions and 0 deletions

View File

@ -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;