diff options
Diffstat (limited to 'ldblib.c')
-rw-r--r-- | ldblib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -437,9 +437,9 @@ static int db_traceback (lua_State *L) { | |||
437 | } | 437 | } |
438 | 438 | ||
439 | 439 | ||
440 | static int db_setCstacklimit (lua_State *L) { | 440 | static int db_setcstacklimit (lua_State *L) { |
441 | int limit = (int)luaL_checkinteger(L, 1); | 441 | int limit = (int)luaL_checkinteger(L, 1); |
442 | int res = lua_setCstacklimit(L, limit); | 442 | int res = lua_setcstacklimit(L, limit); |
443 | if (res == 0) | 443 | if (res == 0) |
444 | lua_pushboolean(L, 0); | 444 | lua_pushboolean(L, 0); |
445 | else | 445 | else |
@@ -465,7 +465,7 @@ static const luaL_Reg dblib[] = { | |||
465 | {"setmetatable", db_setmetatable}, | 465 | {"setmetatable", db_setmetatable}, |
466 | {"setupvalue", db_setupvalue}, | 466 | {"setupvalue", db_setupvalue}, |
467 | {"traceback", db_traceback}, | 467 | {"traceback", db_traceback}, |
468 | {"setCstacklimit", db_setCstacklimit}, | 468 | {"setcstacklimit", db_setcstacklimit}, |
469 | {NULL, NULL} | 469 | {NULL, NULL} |
470 | }; | 470 | }; |
471 | 471 | ||