diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:31:06 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-09-24 14:31:06 -0300 |
commit | 03cde80b58ea7f112f1b7a35c037893093b59f2e (patch) | |
tree | d92d64bca2b0ebe3e026fbf7955bf080db17e480 /ldblib.c | |
parent | 6b2e202df55f3d1f3c670eab65981db6e125c758 (diff) | |
download | lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.tar.gz lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.tar.bz2 lua-03cde80b58ea7f112f1b7a35c037893093b59f2e.zip |
'setCstacklimit' renamed to 'setcstacklimit'
Function names in the API use only lowercase letters.
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 | ||