mirror of https://github.com/axmolengine/axmol.git
[Lua] move LUA_FUNCTION, LUA_TABLE, LUA_STRING declare to CCLuaEngine.h
This commit is contained in:
parent
a2259ab0dd
commit
fc3a55a065
|
@ -48,10 +48,6 @@ enum ccScriptType {
|
||||||
kScriptTypeJavascript
|
kScriptTypeJavascript
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef int LUA_FUNCTION;
|
|
||||||
typedef int LUA_TABLE;
|
|
||||||
typedef int LUA_STRING;
|
|
||||||
|
|
||||||
// #pragma mark -
|
// #pragma mark -
|
||||||
// #pragma mark CCScriptHandlerEntry
|
// #pragma mark CCScriptHandlerEntry
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,10 @@ extern "C" {
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
||||||
|
typedef int LUA_FUNCTION;
|
||||||
|
typedef int LUA_TABLE;
|
||||||
|
typedef int LUA_STRING;
|
||||||
|
|
||||||
class CCLuaValue;
|
class CCLuaValue;
|
||||||
|
|
||||||
typedef std::map<std::string, CCLuaValue> CCLuaValueDict;
|
typedef std::map<std::string, CCLuaValue> CCLuaValueDict;
|
||||||
|
|
|
@ -11,6 +11,7 @@ extern "C" {
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "tolua_fix.h"
|
#include "tolua_fix.h"
|
||||||
#include "cocos2d.h"
|
#include "cocos2d.h"
|
||||||
|
#include "CCLuaEngine.h"
|
||||||
#include "SimpleAudioEngine.h"
|
#include "SimpleAudioEngine.h"
|
||||||
|
|
||||||
using namespace cocos2d;
|
using namespace cocos2d;
|
||||||
|
|
Loading…
Reference in New Issue