From 03cde80b58ea7f112f1b7a35c037893093b59f2e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 24 Sep 2019 14:31:06 -0300 Subject: 'setCstacklimit' renamed to 'setcstacklimit' Function names in the API use only lowercase letters. --- ldblib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 9f7aad51..a9a84c50 100644 --- a/ldblib.c +++ b/ldblib.c @@ -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} }; -- cgit v1.2.3-55-g6feb