Lines Matching refs:mt
458 struct Table*mt[(8+1)]; member
800 Table*mt;
803 mt=hvalue(o)->metatable;
806 mt=uvalue(o)->metatable;
809 mt=G(L)->mt[ttype(o)];
811 return(mt?luaH_getstr(mt,G(L)->tmname[event]):(&luaO_nilobject_));
1739 Table*mt=gco2u(o)->metatable;
1741 if(mt)markobject(g,mt);
2082 if(g->mt[i])markobject(g,g->mt[i]);
2364 for(i=0;i<(8+1);i++)g->mt[i]=NULL;
5614 Table*mt=NULL;
5619 mt=hvalue(obj)->metatable;
5622 mt=uvalue(obj)->metatable;
5625 mt=G(L)->mt[ttype(obj)];
5628 if(mt==NULL)
5631 sethvalue(L,L->top,mt);
5695 Table*mt;
5700 mt=NULL;
5703 mt=hvalue(L->top-1);
5707 hvalue(obj)->metatable=mt;
5708 if(mt)
5709 luaC_objbarriert(L,hvalue(obj),mt);
5713 uvalue(obj)->metatable=mt;
5714 if(mt)
5715 luaC_objbarrier(L,rawuvalue(obj),mt);
5719 G(L)->mt[ttype(obj)]=mt;