From 8f1b0212b219aa97116923876adfab5b90f5986a Mon Sep 17 00:00:00 2001 From: Andrew D. France Date: Tue, 22 Jul 2025 23:30:27 -0500 Subject: src/lush.c ln:1500-1508: corrected the 'luaL' typos --- src/lush.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lush.c b/src/lush.c index 88d2998..82c272e 100644 --- a/src/lush.c +++ b/src/lush.c @@ -1492,12 +1492,12 @@ int main(int argc, char *argv[]) { // init lua state lua_State *L = luaL_newstate(); - luaL_openlibs(L); + lua_openlibs(L); // --- Pre-load compat modules --- // This is to make C modules available to Lua - luaL_getglobal(L, "package"); - luaL_getfield(L, -1, "preload"); + lua_getglobal(L, "package"); + lua_getfield(L, -1, "preload"); // Preload bit32 for Lua 5.1 compatibility lua_pushcfunction(L, luaopen_bit32); -- cgit v1.2.3-59-g8ed1b