From 9b1c70cdf8306054fd60c481078adaab2e63deb1 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sun, 13 Aug 2017 20:40:32 -0400 Subject: [PATCH] jit should be opened with a non-global name of "jit". --- single/sol/sol.hpp | 6 +++--- sol/state_view.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/single/sol/sol.hpp b/single/sol/sol.hpp index 4095405f..8410e11c 100644 --- a/single/sol/sol.hpp +++ b/single/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2017-08-13 17:24:40.860735 UTC -// This header was generated with sol v2.18.0 (revision 769faee) +// Generated 2017-08-14 00:39:04.525857 UTC +// This header was generated with sol v2.18.0 (revision 3a12435) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -16389,7 +16389,7 @@ namespace sol { break; case lib::jit: #ifdef SOL_LUAJIT - luaL_requiref(L, "jit", luaopen_jit, 1); + luaL_requiref(L, "jit", luaopen_jit, 0); lua_pop(L, 1); #endif // LuaJIT Only break; diff --git a/sol/state_view.hpp b/sol/state_view.hpp index f71105b8..e61cc579 100644 --- a/sol/state_view.hpp +++ b/sol/state_view.hpp @@ -237,7 +237,7 @@ namespace sol { break; case lib::jit: #ifdef SOL_LUAJIT - luaL_requiref(L, "jit", luaopen_jit, 1); + luaL_requiref(L, "jit", luaopen_jit, 0); lua_pop(L, 1); #endif // LuaJIT Only break;