aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/lua/loadlib.c
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-08-25 11:24:10 +0800
committerLi Jin <dragon-fly@qq.com>2022-08-26 10:10:19 +0800
commitdf85ad2e7f975026ca1e6bd84b26fff81c8d99c8 (patch)
tree2b9300041c291382b15da3c354de3640a1498c1b /src/3rdParty/lua/loadlib.c
parent2f497477c984e576e9ba7e8f6cb92ee9f794e56b (diff)
downloadyuescript-df85ad2e7f975026ca1e6bd84b26fff81c8d99c8.tar.gz
yuescript-df85ad2e7f975026ca1e6bd84b26fff81c8d99c8.tar.bz2
yuescript-df85ad2e7f975026ca1e6bd84b26fff81c8d99c8.zip
update to Lua 5.4.5.
Diffstat (limited to 'src/3rdParty/lua/loadlib.c')
-rw-r--r--src/3rdParty/lua/loadlib.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/3rdParty/lua/loadlib.c b/src/3rdParty/lua/loadlib.c
index 6f9fa37..d792dff 100644
--- a/src/3rdParty/lua/loadlib.c
+++ b/src/3rdParty/lua/loadlib.c
@@ -708,8 +708,13 @@ static const luaL_Reg ll_funcs[] = {
708 708
709 709
710static void createsearcherstable (lua_State *L) { 710static 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);