mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
Field 'Proto.is_vararg' uses only one bit
So that the other bits can be used for other purposes.
This commit is contained in:
parent
0554581605
commit
96f7714237
8 changed files with 20 additions and 13 deletions
2
lfunc.c
2
lfunc.c
|
|
@ -253,7 +253,7 @@ Proto *luaF_newproto (lua_State *L) {
|
|||
f->upvalues = NULL;
|
||||
f->sizeupvalues = 0;
|
||||
f->numparams = 0;
|
||||
f->is_vararg = 0;
|
||||
f->flag = 0;
|
||||
f->maxstacksize = 0;
|
||||
f->locvars = NULL;
|
||||
f->sizelocvars = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue