aboutsummaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-11-15 12:04:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-11-15 12:04:53 -0300
commita4762b6ffe74f5878882ef238d37bfa92d90e418 (patch)
tree4f52a82641838a318e6270522d9e7f83ccab388d /lfunc.h
parentd4247befa18a7911c56e7110154ad73574cd6648 (diff)
downloadlua-a4762b6ffe74f5878882ef238d37bfa92d90e418.tar.gz
lua-a4762b6ffe74f5878882ef238d37bfa92d90e418.tar.bz2
lua-a4762b6ffe74f5878882ef238d37bfa92d90e418.zip
'objsize' returns 'l_mem'
Sums of size_t may not fit in a size_t.
Diffstat (limited to 'lfunc.h')
-rw-r--r--lfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfunc.h b/lfunc.h
index b9651074..b981edeb 100644
--- a/lfunc.h
+++ b/lfunc.h
@@ -56,7 +56,7 @@ LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level);
56LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level); 56LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level);
57LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy); 57LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy);
58LUAI_FUNC void luaF_unlinkupval (UpVal *uv); 58LUAI_FUNC void luaF_unlinkupval (UpVal *uv);
59LUAI_FUNC size_t luaF_protosize (Proto *p); 59LUAI_FUNC lu_mem luaF_protosize (Proto *p);
60LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); 60LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
61LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, 61LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number,
62 int pc); 62 int pc);