From 8674909fabf4f6837aa7dbac026a003d87db124d Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 27 Sep 2013 08:47:46 +0200 Subject: [PATCH] Removed extern. --- spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp b/spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp index 1df696cb3..01fa754d1 100644 --- a/spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp +++ b/spine-cocos2dx/src/spine/CCSkeletonAnimation.cpp @@ -42,7 +42,7 @@ using std::vector; namespace spine { -extern "C" static void callback (AnimationState* state, int trackIndex, EventType type, Event* event, int loopCount) { +static void callback (AnimationState* state, int trackIndex, EventType type, Event* event, int loopCount) { ((CCSkeletonAnimation*)state->context)->onAnimationStateEvent(trackIndex, type, event, loopCount); }