'setCstacklimit' renamed to 'setcstacklimit'

Function names in the API use only lowercase letters.
This commit is contained in:
Roberto Ierusalimschy
2019-09-24 14:31:06 -03:00
parent 6b2e202df5
commit 03cde80b58
5 changed files with 23 additions and 23 deletions

View File

@@ -437,9 +437,9 @@ static int db_traceback (lua_State *L) {
}
static int db_setCstacklimit (lua_State *L) {
static int db_setcstacklimit (lua_State *L) {
int limit = (int)luaL_checkinteger(L, 1);
int res = lua_setCstacklimit(L, limit);
int res = lua_setcstacklimit(L, limit);
if (res == 0)
lua_pushboolean(L, 0);
else
@@ -465,7 +465,7 @@ static const luaL_Reg dblib[] = {
{"setmetatable", db_setmetatable},
{"setupvalue", db_setupvalue},
{"traceback", db_traceback},
{"setCstacklimit", db_setCstacklimit},
{"setcstacklimit", db_setcstacklimit},
{NULL, NULL}
};