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