Removed deprecated options in 'lua_gc'

Options 'setpause' and 'setstepmul' were deprecated in Lua 5.4.
This commit is contained in:
Roberto Ierusalimschy
2023-11-30 15:51:02 -03:00
parent 63d68bd657
commit 35a2fed2d1
4 changed files with 10 additions and 39 deletions

8
lua.h
View File

@@ -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, ...);