forked from mirrors/principia
Load bit32 Lua library
This commit is contained in:
parent
ed627e4207
commit
e57729620d
1 changed files with 4 additions and 0 deletions
|
|
@ -3937,6 +3937,7 @@ escript::init()
|
|||
this->L->userdata = (void*)this;
|
||||
luaopen_base(this->L);
|
||||
lua_pop(this->L, 1);
|
||||
|
||||
luaL_requiref(this->L, "math", luaopen_math, 1);
|
||||
lua_pop(this->L, 1);
|
||||
|
||||
|
|
@ -3946,6 +3947,9 @@ escript::init()
|
|||
luaL_requiref(this->L, "table", luaopen_table, 1);
|
||||
lua_pop(this->L, 1);
|
||||
|
||||
luaL_requiref(this->L, "bit32", luaopen_bit32, 1);
|
||||
lua_pop(this->L, 1);
|
||||
|
||||
register_world(this->L);
|
||||
|
||||
register_game(this->L);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue