Exemple #1
0
 public LuaState(IntPtr lua)
 {
     this.luaPtr      = lua;
     globalLuaState   = this;
     this.pfnPanic    = LuaState.Lua_Panic;
     this.pfnDispatch = LuaState.Lua_DispatchFun;
     LuaAPI.lua_atpanic(this.luaPtr, this.pfnPanic);
 }