From 35a2fed2d1e0b95a1bfab364707e469863517085 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 30 Nov 2023 15:51:02 -0300 Subject: Removed deprecated options in 'lua_gc' Options 'setpause' and 'setstepmul' were deprecated in Lua 5.4. --- lua.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lua.h') 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); #define LUA_GCCOUNT 3 #define LUA_GCCOUNTB 4 #define LUA_GCSTEP 5 -#define LUA_GCSETPAUSE 6 -#define LUA_GCSETSTEPMUL 7 -#define LUA_GCISRUNNING 9 -#define LUA_GCGEN 10 -#define LUA_GCINC 11 +#define LUA_GCISRUNNING 6 +#define LUA_GCGEN 7 +#define LUA_GCINC 8 LUA_API int (lua_gc) (lua_State *L, int what, ...); -- cgit v1.2.3-55-g6feb