diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-11-15 12:04:53 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-11-15 12:04:53 -0300 |
commit | a4762b6ffe74f5878882ef238d37bfa92d90e418 (patch) | |
tree | 4f52a82641838a318e6270522d9e7f83ccab388d /lstate.h | |
parent | d4247befa18a7911c56e7110154ad73574cd6648 (diff) | |
download | lua-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 'lstate.h')
-rw-r--r-- | lstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -416,7 +416,7 @@ union GCUnion { | |||
416 | 416 | ||
417 | LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt); | 417 | LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt); |
418 | LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1); | 418 | LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1); |
419 | LUAI_FUNC size_t luaE_threadsize (lua_State *L); | 419 | LUAI_FUNC lu_mem luaE_threadsize (lua_State *L); |
420 | LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L); | 420 | LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L); |
421 | LUAI_FUNC void luaE_shrinkCI (lua_State *L); | 421 | LUAI_FUNC void luaE_shrinkCI (lua_State *L); |
422 | LUAI_FUNC void luaE_checkcstack (lua_State *L); | 422 | LUAI_FUNC void luaE_checkcstack (lua_State *L); |