static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FairyGUI.GLuaLabel obj = (FairyGUI.GLuaLabel)ToLua.CheckObject(L, 1, typeof(FairyGUI.GLuaLabel)); obj.Dispose(); return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e); } }
static int _CreateFairyGUI_GLuaLabel(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FairyGUI.GLuaLabel obj = new FairyGUI.GLuaLabel(); ToLua.PushObject(L, obj); return 1; } else { return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FairyGUI.GLuaLabel.New"); } } catch(Exception e) { return LuaDLL.toluaL_exception(L, e); } }