diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-02-07 14:20:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-02-07 14:20:43 -0300 |
| commit | 7360f8d0fd91344deb583ff76b8250a1883dcd4c (patch) | |
| tree | e5fb364c646cbc61b1571063d375582356b43c6a /ldblib.c | |
| parent | 6063c47031afa2d62e6038fcf8f3c805785c7df3 (diff) | |
| download | lua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.tar.gz lua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.tar.bz2 lua-7360f8d0fd91344deb583ff76b8250a1883dcd4c.zip | |
Removed deprecated function 'setcstacklimit'
Diffstat (limited to 'ldblib.c')
| -rw-r--r-- | ldblib.c | 9 |
1 files changed, 0 insertions, 9 deletions
| @@ -446,14 +446,6 @@ static int db_traceback (lua_State *L) { | |||
| 446 | } | 446 | } |
| 447 | 447 | ||
| 448 | 448 | ||
| 449 | static 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 | |||
| 457 | static const luaL_Reg dblib[] = { | 449 | static 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 | ||
