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