Skip to content

Commit

Permalink
Export bit and FFI to script engine
Browse files Browse the repository at this point in the history
Thanks to ForserX
  • Loading branch information
Xottab-DUTY committed Aug 13, 2017
1 parent 20032e9 commit 8ed36ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrScriptEngine/script_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,8 @@ void CScriptEngine::init(ExporterFunc exporterFunc, bool loadGlobalNamespace)
luajit::open_lib(lua(), LUA_OSLIBNAME, luaopen_os);
luajit::open_lib(lua(), LUA_MATHLIBNAME, luaopen_math);
luajit::open_lib(lua(), LUA_STRLIBNAME, luaopen_string);
luajit::open_lib(lua(), LUA_BITLIBNAME, luaopen_bit);
luajit::open_lib(lua(), LUA_FFILIBNAME, luaopen_ffi);
#ifdef DEBUG
luajit::open_lib(lua(), LUA_DBLIBNAME, luaopen_debug);
#endif
Expand Down

0 comments on commit 8ed36ae

Please sign in to comment.