diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-04-01 13:55:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-04-01 13:55:44 -0300 |
commit | f3cfd5bf2b11ba207c71344243892645157900b7 (patch) | |
tree | 87e26a041ebbd9a91fa5862a3e312f3159b6a132 /loadlib.c | |
parent | 8426d9b4d4df1da3c5b2d759e509ae1c50a86667 (diff) | |
download | lua-f3cfd5bf2b11ba207c71344243892645157900b7.tar.gz lua-f3cfd5bf2b11ba207c71344243892645157900b7.tar.bz2 lua-f3cfd5bf2b11ba207c71344243892645157900b7.zip |
Details
Comments + manual + identation + asserts about stack limits that were
not allowing the use of the full stack
Diffstat (limited to 'loadlib.c')
-rw-r--r-- | loadlib.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -708,8 +708,13 @@ static const luaL_Reg ll_funcs[] = { | |||
708 | 708 | ||
709 | 709 | ||
710 | static void createsearcherstable (lua_State *L) { | 710 | static void createsearcherstable (lua_State *L) { |
711 | static const lua_CFunction searchers[] = | 711 | static const lua_CFunction searchers[] = { |
712 | {searcher_preload, searcher_Lua, searcher_C, searcher_Croot, NULL}; | 712 | searcher_preload, |
713 | searcher_Lua, | ||
714 | searcher_C, | ||
715 | searcher_Croot, | ||
716 | NULL | ||
717 | }; | ||
713 | int i; | 718 | int i; |
714 | /* create 'searchers' table */ | 719 | /* create 'searchers' table */ |
715 | lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0); | 720 | lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0); |