Searched refs:mt (Results 1 – 8 of 8) sorted by relevance
11 local mt = getmetatable(_G)12 if mt == nil then13 mt = {}14 setmetatable(_G, mt)17 mt.__declared = {}24 mt.__newindex = function (t, n, v)25 if not mt.__declared[n] then30 mt.__declared[n] = true35 mt.__index = function (t, n)36 if not mt.__declared[n] and what() ~= "C" then
9 @set MYMT=mt /nologo
62 Table *mt; in luaT_gettmbyobj() local65 mt = hvalue(o)->metatable; in luaT_gettmbyobj()68 mt = uvalue(o)->metatable; in luaT_gettmbyobj()71 mt = G(L)->mt[ttype(o)]; in luaT_gettmbyobj()73 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
589 Table *mt = NULL; in lua_getmetatable() local595 mt = hvalue(obj)->metatable; in lua_getmetatable()601 mt = G(L)->mt[ttype(obj)]; in lua_getmetatable()604 if (mt == NULL) in lua_getmetatable()607 sethvalue(L, L->top, mt); in lua_getmetatable()699 Table *mt; in lua_setmetatable() local705 mt = NULL; in lua_setmetatable()708 mt = hvalue(L->top - 1); in lua_setmetatable()713 if (mt) in lua_setmetatable()719 if (mt) in lua_setmetatable()[all …]
77 Table *mt = gco2u(o)->metatable; in reallymarkobject() local79 if (mt) markobject(g, mt); in reallymarkobject()496 if (g->mt[i]) markobject(g, g->mt[i]); in markmt()
92 struct Table *mt[NUM_TAGS]; /* metatables for basic types */ member
181 for (i=0; i<NUM_TAGS; i++) g->mt[i] = NULL; in lua_newstate()
296 | mt \336 basic_machine=mt-unknown836 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`