From 7360f8d0fd91344deb583ff76b8250a1883dcd4c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Feb 2024 14:20:43 -0300 Subject: Removed deprecated function 'setcstacklimit' --- ldblib.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 6dcbaa98..2c941384 100644 --- a/ldblib.c +++ b/ldblib.c @@ -446,14 +446,6 @@ static int db_traceback (lua_State *L) { } -static int db_setcstacklimit (lua_State *L) { - int limit = (int)luaL_checkinteger(L, 1); - int res = lua_setcstacklimit(L, limit); - lua_pushinteger(L, res); - return 1; -} - - static const luaL_Reg dblib[] = { {"debug", db_debug}, {"getuservalue", db_getuservalue}, @@ -471,7 +463,6 @@ static const luaL_Reg dblib[] = { {"setmetatable", db_setmetatable}, {"setupvalue", db_setupvalue}, {"traceback", db_traceback}, - {"setcstacklimit", db_setcstacklimit}, {NULL, NULL} }; -- cgit v1.2.3-55-g6feb