Searched refs:nilvalue (Results 1 - 5 of 5) sorted by relevance

/netbsd-current/external/mit/lua/dist/src/
H A Dlstate.h265 TValue nilvalue; /* a nil value */ member in struct:global_State
340 ** 'g->nilvalue' being a nil value flags that the state was completely
343 #define completestate(g) ttisnil(&g->nilvalue)
H A Dlstate.c244 setnilvalue(&g->nilvalue); /* now state is complete */
404 setivalue(&g->nilvalue, 0); /* to signal that state is not yet built */
H A Dlfunc.c151 errobj = &G(L)->nilvalue; /* error object is nil */
H A Dltm.c92 return (mt ? luaH_getshortstr(mt, G(L)->tmname[event]) : &G(L)->nilvalue);
H A Dlapi.c48 ** Test for a valid index (one that is not the 'nilvalue').
49 ** '!ttisnil(o)' implies 'o != &G(L)->nilvalue', so it is not needed.
52 #define isvalid(L, o) (!ttisnil(o) || o != &G(L)->nilvalue)
64 ** Non-valid indices return the special nil value 'G(L)->nilvalue'.
71 if (o >= L->top.p) return &G(L)->nilvalue;
87 : &G(L)->nilvalue;
91 return &G(L)->nilvalue; /* no upvalues */

Completed in 187 milliseconds