aboutsummaryrefslogtreecommitdiff
path: root/ltable.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 /ltable.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 'ltable.h')
-rw-r--r--ltable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index c352da38..17e4fb4a 100644
--- a/ltable.h
+++ b/ltable.h
@@ -163,7 +163,7 @@ LUAI_FUNC Table *luaH_new (lua_State *L);
163LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned nasize, 163LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned nasize,
164 unsigned nhsize); 164 unsigned nhsize);
165LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, unsigned nasize); 165LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, unsigned nasize);
166LUAI_FUNC size_t luaH_size (Table *t); 166LUAI_FUNC lu_mem luaH_size (Table *t);
167LUAI_FUNC void luaH_free (lua_State *L, Table *t); 167LUAI_FUNC void luaH_free (lua_State *L, Table *t);
168LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); 168LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
169LUAI_FUNC lua_Unsigned luaH_getn (Table *t); 169LUAI_FUNC lua_Unsigned luaH_getn (Table *t);