static int Set(IntPtr L) { try { LuaInterface.LuaProperty obj = (LuaInterface.LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaInterface.LuaProperty)); return(obj.Set(L)); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t) { if (p != null) { LuaProperty lp = new LuaProperty(p, t); ToLua.PushSealed(L, lp); } else { LuaDLL.lua_pushnil(L); } }
private static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t) { if (p != null) { LuaProperty o = new LuaProperty(p, t); ToLua.PushObject(L, o); } else { LuaDLL.lua_pushnil(L); } }
static void PushLuaProperty(IntPtr L, PropertyInfo p, Type t) { if (p != null) { LuaProperty lp = new LuaProperty(p, t); ToLua.PushObject(L, lp); } else { LuaDLL.lua_pushnil(L); } }