Home
last modified time | relevance | path

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

/l4re-core-master/lua/lib/contrib/src/
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()
A Dlfunc.h51 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