lua: added bit library

This commit is contained in:
MihailRis 2024-02-14 14:28:25 +03:00
parent 0d121fccd7
commit a5061a888c
2 changed files with 7 additions and 4 deletions

View file

@ -20,12 +20,11 @@ lua::LuaState::LuaState() {
luaopen_string(L);
luaopen_table(L);
luaopen_debug(L);
luaopen_jit(L);
luaopen_bit(L);
std::cout << LUA_VERSION << std::endl;
# ifdef LUAJIT_VERSION
luaopen_jit(L);
std::cout << LUAJIT_VERSION << std::endl;
# endif // LUAJIT_VERSION
std::cout << LUAJIT_VERSION << std::endl;
createFuncs();