aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-30 15:51:02 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-11-30 15:51:02 -0300
commit35a2fed2d1e0b95a1bfab364707e469863517085 (patch)
treefb268c8e16b3b57a426cf9c84eb536f2958ab5c5 /lua.h
parent63d68bd657b7386c9c58b4439a100ea0ccbd633e (diff)
downloadlua-35a2fed2d1e0b95a1bfab364707e469863517085.tar.gz
lua-35a2fed2d1e0b95a1bfab364707e469863517085.tar.bz2
lua-35a2fed2d1e0b95a1bfab364707e469863517085.zip
Removed deprecated options in 'lua_gc'
Options 'setpause' and 'setstepmul' were deprecated in Lua 5.4.
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lua.h b/lua.h
index ca8d06fe..32768561 100644
--- a/lua.h
+++ b/lua.h
@@ -334,11 +334,9 @@ LUA_API void (lua_warning) (lua_State *L, const char *msg, int tocont);
334#define LUA_GCCOUNT 3 334#define LUA_GCCOUNT 3
335#define LUA_GCCOUNTB 4 335#define LUA_GCCOUNTB 4
336#define LUA_GCSTEP 5 336#define LUA_GCSTEP 5
337#define LUA_GCSETPAUSE 6 337#define LUA_GCISRUNNING 6
338#define LUA_GCSETSTEPMUL 7 338#define LUA_GCGEN 7
339#define LUA_GCISRUNNING 9 339#define LUA_GCINC 8
340#define LUA_GCGEN 10
341#define LUA_GCINC 11
342 340
343LUA_API int (lua_gc) (lua_State *L, int what, ...); 341LUA_API int (lua_gc) (lua_State *L, int what, ...);
344 342