mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Fix for including in .mm file.
This commit is contained in:
parent
cef85a86c7
commit
0c76ba47da
@ -29,6 +29,10 @@
|
|||||||
#include <spine/spine.h>
|
#include <spine/spine.h>
|
||||||
#include "cocos2d.h"
|
#include "cocos2d.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
using namespace spine;
|
||||||
|
#endif
|
||||||
|
|
||||||
@interface CCSkeleton : CCNodeRGBA<CCBlendProtocol> {
|
@interface CCSkeleton : CCNodeRGBA<CCBlendProtocol> {
|
||||||
@private
|
@private
|
||||||
bool ownsSkeleton;
|
bool ownsSkeleton;
|
||||||
@ -71,7 +75,6 @@ void RegionAttachment_updateQuad (RegionAttachment* self, Slot* slot, ccV3F_C4B_
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
using namespace spine;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* SPINE_COCOS2D_H_ */
|
#endif /* SPINE_COCOS2D_H_ */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user