mirror of https://github.com/axmolengine/axmol.git
issue #2430:make functions really deprecated
This commit is contained in:
parent
f5b116095c
commit
e95c3b9150
|
@ -526,8 +526,10 @@ CC_DEPRECATED_ATTRIBUTE static inline AffineTransform CCAffineTransformInvert(co
|
|||
return AffineTransformInvert(t);
|
||||
}
|
||||
|
||||
#define CCAffineTransformIdentity AffineTransformIdentity
|
||||
|
||||
CC_DEPRECATED_ATTRIBUTE static inline AffineTransform CCAffineTransformIdentity()
|
||||
{
|
||||
return AffineTransformMakeIdentity();
|
||||
}
|
||||
|
||||
// CC prefix compatibility
|
||||
CC_DEPRECATED_ATTRIBUTE typedef Object CCObject;
|
||||
|
|
Loading…
Reference in New Issue