MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / db_setcstacklimit

Function db_setcstacklimit

extlibs/lua/src/ldblib.c:440–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438
439
440static int db_setcstacklimit (lua_State *L) {
441 int limit = (int)luaL_checkinteger(L, 1);
442 int res = lua_setcstacklimit(L, limit);
443 if (res == 0)
444 lua_pushboolean(L, 0);
445 else
446 lua_pushinteger(L, res);
447 return 1;
448}
449
450
451static const luaL_Reg dblib[] = {

Callers

nothing calls this directly

Calls 4

luaL_checkintegerFunction · 0.85
lua_setcstacklimitFunction · 0.85
lua_pushbooleanFunction · 0.85
lua_pushintegerFunction · 0.85

Tested by

no test coverage detected