mirror of
https://github.com/lua/lua.git
synced 2025-07-04 07:03:24 +00:00
Removed deprecated function 'setcstacklimit'
This commit is contained in:
parent
6063c47031
commit
7360f8d0fd
3 changed files with 0 additions and 16 deletions
9
ldblib.c
9
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}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue