Home
last modified time | relevance | path

Searched refs:nilvalue (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/lua/src/
H A Dlmem.c32 if (ttisnil(&g->nilvalue) && ns > os) in firsttry()
149 if (ttisnil(&g->nilvalue)) { /* is state fully build? */ in tryagain()
H A Dlstate.c244 setnilvalue(&g->nilvalue); in f_luaopen()
276 if (ttisnil(&g->nilvalue)) /* closing a fully built state? */ in close_state()
389 setivalue(&g->nilvalue, 0); /* to signal that state is not yet built */ in lua_newstate()
H A Dlstate.h228 TValue nilvalue; /* a nil value */ member
H A Dlapi.c46 #define isvalid(L, o) (!ttisnil(o) || o != &G(L)->nilvalue)
61 if (o >= L->top) return &G(L)->nilvalue; in index2value()
74 return &G(L)->nilvalue; /* it has no upvalues */ in index2value()
77 return (idx <= func->nupvalues) ? &func->upvalue[idx-1] : &G(L)->nilvalue; in index2value()
H A Dltm.c83 return (mt ? luaH_getshortstr(mt, G(L)->tmname[event]) : &G(L)->nilvalue); in luaT_gettmbyobj()
H A Dlfunc.c153 if (prepclosingmethod(L, uv, &G(L)->nilvalue)) /* something to call? */ in callclosemth()