Searched refs:gco2u (Results 1 – 4 of 4) sorted by relevance
251 markobjectN(g, gco2u(o)->metatable); /* mark its metatable */ in reallymarkobject()253 g->GCmemtrav += sizeudata(gco2u(o)); in reallymarkobject()254 getuservalue(g->mainthread, gco2u(o), &uvalue); in reallymarkobject()710 case LUA_TUSERDATA: luaM_freemem(L, o, sizeudata(gco2u(o))); break; in freeobj()
227 #define gco2u(o) check_exp((o)->tt == LUA_TUSERDATA, &((cast_u(o))->u)) macro
242 u = gco2u(o); in luaS_newudata()
170 #define uvalue(o) check_exp(ttisfulluserdata(o), gco2u(val_(o).gc))