Minor fixes.

This commit is contained in:
NathanSweet 2016-04-03 12:48:20 +02:00
parent d92e68ad58
commit eb90cbf260
2 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,9 @@
#include <spine/AtlasAttachmentLoader.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct Cocos2dAttachmentLoader {
spAttachmentLoader super;
@ -43,6 +45,8 @@ typedef struct Cocos2dAttachmentLoader {
Cocos2dAttachmentLoader* Cocos2dAttachmentLoader_create (spAtlas* atlas);
#ifdef __cplusplus
}
#endif
#endif /* SPINE_COCOS2DATTACHMENTLOADER_H_ */

View File

@ -41,7 +41,7 @@ class SkeletonBatch {
public:
/* Sets the max number of vertices that can be drawn in a single frame. Best to call before getInstance is called for the
* first time. Default is 8192. */
static void SkeletonBatch::setBufferSize (int vertexCount);
static void setBufferSize (int vertexCount);
static SkeletonBatch* getInstance ();