Searched refs:nupvals (Results 1 – 2 of 2) sorted by relevance
27 CClosure *luaF_newCclosure (lua_State *L, int nupvals) { in luaF_newCclosure() argument28 GCObject *o = luaC_newobj(L, LUA_VCCL, sizeCclosure(nupvals)); in luaF_newCclosure()30 c->nupvalues = cast_byte(nupvals); in luaF_newCclosure()35 LClosure *luaF_newLclosure (lua_State *L, int nupvals) { in luaF_newLclosure() argument36 GCObject *o = luaC_newobj(L, LUA_VLCL, sizeLclosure(nupvals)); in luaF_newLclosure()39 c->nupvalues = cast_byte(nupvals); in luaF_newLclosure()40 while (nupvals--) c->upvals[nupvals] = NULL; in luaF_newLclosure()
51 LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nupvals);52 LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals);
Completed in 3 milliseconds