@@ -27,9 +27,11 @@ extern "C" {
2727#include < bee/lua/error.cpp>
2828#include < bee/lua/file.cpp>
2929#include < bee/lua/luaref.cpp>
30+ #include < bee/version.cpp>
3031#include < binding/lua_channel.cpp>
3132#include < binding/lua_epoll.cpp>
3233#include < binding/lua_filesystem.cpp>
34+ #include < binding/lua_platform.cpp>
3335#include < binding/lua_select.cpp>
3436#include < binding/lua_socket.cpp>
3537#include < binding/lua_sys.cpp>
@@ -38,6 +40,7 @@ extern "C" {
3840#include " luadbg/bee_module.h"
3941
4042#if defined(_WIN32)
43+ # include < bee/win/module_version.cpp>
4144# include < binding/port/lua_windows.cpp>
4245#endif
4346
@@ -49,6 +52,7 @@ extern "C" int luaopen_bee_channel(luadbg_State* L);
4952extern " C" int luaopen_bee_epoll (luadbg_State* L);
5053extern " C" int luaopen_bee_filesystem (luadbg_State* L);
5154extern " C" int luaopen_bee_socket (luadbg_State* L);
55+ extern " C" int luaopen_bee_platform (luadbg_State* L);
5256extern " C" int luaopen_bee_sys (luadbg_State* L);
5357extern " C" int luaopen_bee_thread (luadbg_State* L);
5458#if defined(_WIN32)
@@ -64,6 +68,7 @@ static luadbgL_Reg cmodule[] = {
6468 { " bee.epoll" , luaopen_bee_epoll },
6569 { " bee.filesystem" , luaopen_bee_filesystem },
6670 { " bee.socket" , luaopen_bee_socket },
71+ { " bee.platform" , luaopen_bee_platform },
6772 { " bee.sys" , luaopen_bee_sys },
6873 { " bee.thread" , luaopen_bee_thread },
6974#if defined(_WIN32)
0 commit comments