mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
'objsize' returns 'l_mem'
Sums of size_t may not fit in a size_t.
This commit is contained in:
parent
d4247befa1
commit
a4762b6ffe
7 changed files with 40 additions and 25 deletions
2
lfunc.h
2
lfunc.h
|
|
@ -56,7 +56,7 @@ LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level);
|
|||
LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level);
|
||||
LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy);
|
||||
LUAI_FUNC void luaF_unlinkupval (UpVal *uv);
|
||||
LUAI_FUNC size_t luaF_protosize (Proto *p);
|
||||
LUAI_FUNC lu_mem luaF_protosize (Proto *p);
|
||||
LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
|
||||
LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
|
||||
int pc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue