mirror of https://github.com/axmolengine/axmol.git
23 lines
363 B
C
23 lines
363 B
C
|
|
||
|
#ifndef __LUA_OBJC_BRIDGE_H_
|
||
|
#define __LUA_OBJC_BRIDGE_H_
|
||
|
|
||
|
#include "CCLuaBridge.h"
|
||
|
|
||
|
NS_CC_BEGIN
|
||
|
|
||
|
class LuaObjcBridge : public LuaBridge
|
||
|
{
|
||
|
public:
|
||
|
static void luaopen_luaoc(lua_State *L);
|
||
|
|
||
|
protected:
|
||
|
static int callObjcStaticMethod(lua_State *L);
|
||
|
|
||
|
static void pushValue(lua_State *L, void *val);
|
||
|
};
|
||
|
|
||
|
NS_CC_END
|
||
|
|
||
|
#endif // __LUA_OBJC_BRIDGE_H_
|