mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
jit should be opened with a non-global name of "jit".
This commit is contained in:
parent
3a12435b17
commit
9b1c70cdf8
@ -20,8 +20,8 @@
|
|||||||
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// This file was generated with a script.
|
// This file was generated with a script.
|
||||||
// Generated 2017-08-13 17:24:40.860735 UTC
|
// Generated 2017-08-14 00:39:04.525857 UTC
|
||||||
// This header was generated with sol v2.18.0 (revision 769faee)
|
// This header was generated with sol v2.18.0 (revision 3a12435)
|
||||||
// https://github.com/ThePhD/sol2
|
// https://github.com/ThePhD/sol2
|
||||||
|
|
||||||
#ifndef SOL_SINGLE_INCLUDE_HPP
|
#ifndef SOL_SINGLE_INCLUDE_HPP
|
||||||
@ -16389,7 +16389,7 @@ namespace sol {
|
|||||||
break;
|
break;
|
||||||
case lib::jit:
|
case lib::jit:
|
||||||
#ifdef SOL_LUAJIT
|
#ifdef SOL_LUAJIT
|
||||||
luaL_requiref(L, "jit", luaopen_jit, 1);
|
luaL_requiref(L, "jit", luaopen_jit, 0);
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
#endif // LuaJIT Only
|
#endif // LuaJIT Only
|
||||||
break;
|
break;
|
||||||
|
@ -237,7 +237,7 @@ namespace sol {
|
|||||||
break;
|
break;
|
||||||
case lib::jit:
|
case lib::jit:
|
||||||
#ifdef SOL_LUAJIT
|
#ifdef SOL_LUAJIT
|
||||||
luaL_requiref(L, "jit", luaopen_jit, 1);
|
luaL_requiref(L, "jit", luaopen_jit, 0);
|
||||||
lua_pop(L, 1);
|
lua_pop(L, 1);
|
||||||
#endif // LuaJIT Only
|
#endif // LuaJIT Only
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user