issue #2430:make functions really deprecated

This commit is contained in:
minggo 2013-07-25 21:15:24 +08:00
parent f5b116095c
commit e95c3b9150
1 changed files with 4 additions and 2 deletions

View File

@ -526,8 +526,10 @@ CC_DEPRECATED_ATTRIBUTE static inline AffineTransform CCAffineTransformInvert(co
return AffineTransformInvert(t); return AffineTransformInvert(t);
} }
#define CCAffineTransformIdentity AffineTransformIdentity CC_DEPRECATED_ATTRIBUTE static inline AffineTransform CCAffineTransformIdentity()
{
return AffineTransformMakeIdentity();
}
// CC prefix compatibility // CC prefix compatibility
CC_DEPRECATED_ATTRIBUTE typedef Object CCObject; CC_DEPRECATED_ATTRIBUTE typedef Object CCObject;