static int Call(IntPtr L) { try { LuaConstructor obj = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); return(obj.Call(L)); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
private static int Call(IntPtr L) { int result; try { LuaConstructor luaConstructor = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); result = luaConstructor.Call(L); } catch (Exception e) { result = LuaDLL.toluaL_exception(L, e, null); } return(result); }