mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 17:48:45 +08:00
Cocos2dAttachmentLoader needs to be C++.
This commit is contained in:
parent
eb90cbf260
commit
5dff1b921a
@ -145,7 +145,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\spine\AttachmentVertices.cpp" />
|
||||
<ClCompile Include="..\..\src\spine\Cocos2dAttachmentLoader.c" />
|
||||
<ClCompile Include="..\..\src\spine\Cocos2dAttachmentLoader.cpp" />
|
||||
<ClCompile Include="..\..\src\spine\SkeletonBatch.cpp" />
|
||||
<ClCompile Include="..\..\src\spine\SkeletonAnimation.cpp" />
|
||||
<ClCompile Include="..\..\src\spine\SkeletonRenderer.cpp" />
|
||||
|
||||
@ -83,10 +83,10 @@
|
||||
<ClCompile Include="..\..\src\spine\SkeletonBatch.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\spine\Cocos2dAttachmentLoader.c">
|
||||
<ClCompile Include="..\..\src\spine\AttachmentVertices.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\spine\AttachmentVertices.cpp">
|
||||
<ClCompile Include="..\..\src\spine\Cocos2dAttachmentLoader.cpp">
|
||||
<Filter>src</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
|
||||
@ -34,9 +34,7 @@
|
||||
|
||||
#include <spine/AtlasAttachmentLoader.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct Cocos2dAttachmentLoader {
|
||||
spAttachmentLoader super;
|
||||
@ -45,8 +43,6 @@ typedef struct Cocos2dAttachmentLoader {
|
||||
|
||||
Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* SPINE_COCOS2DATTACHMENTLOADER_H_ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user