Add Lua utf8 library
Safe for scripting. Let the users have it.
This commit is contained in:
parent
0c13f7ea20
commit
fb82f6a259
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,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
|
||||
{ "utf8", luaopen_utf8 }, // added in Lua 5.3
|
||||
{ nullptr, nullptr }
|
||||
};
|
||||
for (luaL_Reg const *lib = safe_libs; lib->func; ++lib)
|
||||
|
|
Loading…
Add table
Reference in a new issue