[Lua] move LUA_FUNCTION, LUA_TABLE, LUA_STRING declare to CCLuaEngine.h

This commit is contained in:
YuLei 2012-09-11 15:44:33 +08:00
parent a2259ab0dd
commit fc3a55a065
3 changed files with 5 additions and 4 deletions

View File

@ -48,10 +48,6 @@ enum ccScriptType {
kScriptTypeJavascript
};
typedef int LUA_FUNCTION;
typedef int LUA_TABLE;
typedef int LUA_STRING;
// #pragma mark -
// #pragma mark CCScriptHandlerEntry

View File

@ -38,6 +38,10 @@ extern "C" {
NS_CC_BEGIN
typedef int LUA_FUNCTION;
typedef int LUA_TABLE;
typedef int LUA_STRING;
class CCLuaValue;
typedef std::map<std::string, CCLuaValue> CCLuaValueDict;

View File

@ -11,6 +11,7 @@ extern "C" {
#include <string>
#include "tolua_fix.h"
#include "cocos2d.h"
#include "CCLuaEngine.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;