Home
last modified time | relevance | path

Searched refs:metatable (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dltm.c65 mt = hvalue(o)->metatable; in luaT_gettmbyobj()
68 mt = uvalue(o)->metatable; in luaT_gettmbyobj()
H A Dlgc.c77 Table *mt = gco2u(o)->metatable; in reallymarkobject()
136 else if (fasttm(L, gco2u(curr)->metatable, TM_GC) == NULL) { in luaC_separateudata()
163 if (h->metatable) in traversetable()
164 markobject(g, h->metatable); in traversetable()
165 mode = gfasttm(g, h->metatable, TM_MODE); in traversetable()
458 tm = fasttm(L, udata->uv.metatable, TM_GC); in GCTM()
H A Dlvm.c116 (tm = fasttm(L, h->metatable, TM_INDEX)) == NULL) { /* or no TM? */ in luaV_gettable()
143 (tm = fasttm(L, h->metatable, TM_NEWINDEX)) == NULL) { /* or no TM? */ in luaV_settable()
265 tm = get_compTM(L, uvalue(t1)->metatable, uvalue(t2)->metatable, in luaV_equalval()
271 tm = get_compTM(L, hvalue(t1)->metatable, hvalue(t2)->metatable, TM_EQ); in luaV_equalval()
H A Dlobject.h219 struct Table *metatable; member
342 struct Table *metatable; member
H A Dlstring.c104 u->uv.metatable = NULL; in luaS_newudata()
H A Dlapi.c595 mt = hvalue(obj)->metatable; in lua_getmetatable()
598 mt = uvalue(obj)->metatable; in lua_getmetatable()
712 hvalue(obj)->metatable = mt; in lua_setmetatable()
718 uvalue(obj)->metatable = mt; in lua_setmetatable()
H A Dltable.c361 t->metatable = NULL; in luaH_new()
/redis-3.2.3/deps/lua/
H A DHISTORY52 + introduced lightweight userdata, a simple "void*" without a metatable.