Home
last modified time | relevance | path

Searched refs:nupvals (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/lua/src/
H A Dlfunc.c27 CClosure *luaF_newCclosure (lua_State *L, int nupvals) { in luaF_newCclosure() argument
28 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() argument
36 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()
H A Dlfunc.h51 LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nupvals);
52 LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals);