From f3cfd5bf2b11ba207c71344243892645157900b7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 1 Apr 2022 13:55:44 -0300 Subject: Details Comments + manual + identation + asserts about stack limits that were not allowing the use of the full stack --- loadlib.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'loadlib.c') diff --git a/loadlib.c b/loadlib.c index 6f9fa373..d792dffa 100644 --- a/loadlib.c +++ b/loadlib.c @@ -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); -- cgit v1.2.3-55-g6feb