aboutsummaryrefslogtreecommitdiff
path: root/src/yue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yue.cpp')
-rw-r--r--src/yue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yue.cpp b/src/yue.cpp
index 8edac36..98bf4b4 100644
--- a/src/yue.cpp
+++ b/src/yue.cpp
@@ -44,7 +44,7 @@ static void openlibs(void* state) {
44 lua_State* L = static_cast<lua_State*>(state); 44 lua_State* L = static_cast<lua_State*>(state);
45 luaL_openlibs(L); 45 luaL_openlibs(L);
46#if LUA_VERSION_NUM > 501 46#if LUA_VERSION_NUM > 501
47 luaL_requiref(L, "yue", luaopen_yue, 1); 47 luaL_requiref(L, "yue", luaopen_yue, 0);
48#else 48#else
49 lua_pushcfunction(L, luaopen_yue); 49 lua_pushcfunction(L, luaopen_yue);
50 lua_call(L, 0, 0); 50 lua_call(L, 0, 0);