aboutsummaryrefslogtreecommitdiff
path: root/ldblib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-02-07 14:20:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-02-07 14:20:43 -0300
commit7360f8d0fd91344deb583ff76b8250a1883dcd4c (patch)
treee5fb364c646cbc61b1571063d375582356b43c6a /ldblib.c
parent6063c47031afa2d62e6038fcf8f3c805785c7df3 (diff)
downloadlua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.tar.gz
lua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.tar.bz2
lua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.zip
Removed deprecated function 'setcstacklimit'
Diffstat (limited to 'ldblib.c')
-rw-r--r--ldblib.c9
1 files changed, 0 insertions, 9 deletions
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) {
446} 446}
447 447
448 448
449static int db_setcstacklimit (lua_State *L) {
450 int limit = (int)luaL_checkinteger(L, 1);
451 int res = lua_setcstacklimit(L, limit);
452 lua_pushinteger(L, res);
453 return 1;
454}
455
456
457static const luaL_Reg dblib[] = { 449static const luaL_Reg dblib[] = {
458 {"debug", db_debug}, 450 {"debug", db_debug},
459 {"getuservalue", db_getuservalue}, 451 {"getuservalue", db_getuservalue},
@@ -471,7 +463,6 @@ static const luaL_Reg dblib[] = {
471 {"setmetatable", db_setmetatable}, 463 {"setmetatable", db_setmetatable},
472 {"setupvalue", db_setupvalue}, 464 {"setupvalue", db_setupvalue},
473 {"traceback", db_traceback}, 465 {"traceback", db_traceback},
474 {"setcstacklimit", db_setcstacklimit},
475 {NULL, NULL} 466 {NULL, NULL}
476}; 467};
477 468