Skip to content

Commit

Permalink
Lua: enabled support for the bit32 (bitwise operations) library
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvish-Hunter committed Jan 14, 2015
1 parent 66e17ca commit 6c47130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog
Expand Up @@ -150,6 +150,7 @@ Version 1.13.0-dev:
unit tests based on this
* Add functions in wesnoth.map_location to perform map location arithmetic using the same functions
the C++ engine does
* Enabled support for the bit32 library (bitwise operations)
* Multiplayer:
* Fixed the Set Password option during game creation not having an effect
due to a misplaced WML attribute in the client's command for the server
Expand Down
1 change: 1 addition & 0 deletions src/scripting/lua_kernel_base.cpp
Expand Up @@ -152,6 +152,7 @@ lua_kernel_base::lua_kernel_base(CVideo * video)
{ "coroutine", luaopen_coroutine },
{ "debug", luaopen_debug },
{ "os", luaopen_os },
{ "bit32", luaopen_bit32 }, // added in Lua 5.2
{ NULL, NULL }
};
for (luaL_Reg const *lib = safe_libs; lib->func; ++lib)
Expand Down

0 comments on commit 6c47130

Please sign in to comment.