diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-12-13 16:16:59 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-12-13 16:16:59 -0300 |
| commit | a5522f06d2679b8f18534fd6a9968f7eb539dc31 (patch) | |
| tree | 65275619e7829b569bfb18dea624358aa17dbc91 /ldo.h | |
| parent | 3d03ae5bd6314f27c8635e06ec363150c2c19062 (diff) | |
| download | lua-a5522f06d2679b8f18534fd6a9968f7eb539dc31.tar.gz lua-a5522f06d2679b8f18534fd6a9968f7eb539dc31.tar.bz2 lua-a5522f06d2679b8f18534fd6a9968f7eb539dc31.zip | |
If the stack does not have some minimum available space, the GC defers
calling a finalizer until the next cycle. That avoids errors while
running a finalizer that the programmer cannot control.
Diffstat (limited to 'ldo.h')
| -rw-r--r-- | ldo.h | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -89,6 +89,7 @@ LUAI_FUNC int luaD_reallocstack (lua_State *L, int newsize, int raiseerror); | |||
| 89 | LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); | 89 | LUAI_FUNC int luaD_growstack (lua_State *L, int n, int raiseerror); |
| 90 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 90 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |
| 91 | LUAI_FUNC void luaD_inctop (lua_State *L); | 91 | LUAI_FUNC void luaD_inctop (lua_State *L); |
| 92 | LUAI_FUNC int luaD_checkminstack (lua_State *L); | ||
| 92 | 93 | ||
| 93 | LUAI_FUNC l_noret luaD_throw (lua_State *L, TStatus errcode); | 94 | LUAI_FUNC l_noret luaD_throw (lua_State *L, TStatus errcode); |
| 94 | LUAI_FUNC l_noret luaD_throwbaselevel (lua_State *L, TStatus errcode); | 95 | LUAI_FUNC l_noret luaD_throwbaselevel (lua_State *L, TStatus errcode); |
