Comments + manual + identation + asserts about stack limits that were
not allowing the use of the full stack
This commit is contained in:
Roberto Ierusalimschy
2022-04-01 13:55:44 -03:00
parent 8426d9b4d4
commit f3cfd5bf2b
4 changed files with 17 additions and 6 deletions

View File

@@ -708,8 +708,13 @@ static const luaL_Reg ll_funcs[] = {
static void createsearcherstable (lua_State *L) {
static const lua_CFunction searchers[] =
{searcher_preload, searcher_Lua, searcher_C, searcher_Croot, NULL};
static const lua_CFunction searchers[] = {
searcher_preload,
searcher_Lua,
searcher_C,
searcher_Croot,
NULL
};
int i;
/* create 'searchers' table */
lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0);