Fix for including in .mm file.

This commit is contained in:
NathanSweet 2013-04-26 01:51:11 +02:00
parent cef85a86c7
commit 0c76ba47da

View File

@ -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_ */