From 87e748b68bc1eb184d500e7af3ba1af05f092c67 Mon Sep 17 00:00:00 2001 From: fesily Date: Thu, 19 Jun 2025 16:49:48 +0800 Subject: [PATCH 1/3] fix bee.platform --- src/luadebug/luadbg/bee_module.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/luadebug/luadbg/bee_module.cpp b/src/luadebug/luadbg/bee_module.cpp index 797b1c2a..f184d1a6 100644 --- a/src/luadebug/luadbg/bee_module.cpp +++ b/src/luadebug/luadbg/bee_module.cpp @@ -27,9 +27,11 @@ extern "C" { #include #include #include +#include #include #include #include +#include #include #include #include @@ -49,6 +51,7 @@ extern "C" int luaopen_bee_channel(luadbg_State* L); extern "C" int luaopen_bee_epoll(luadbg_State* L); extern "C" int luaopen_bee_filesystem(luadbg_State* L); extern "C" int luaopen_bee_socket(luadbg_State* L); +extern "C" int luaopen_bee_platform(luadbg_State* L); extern "C" int luaopen_bee_sys(luadbg_State* L); extern "C" int luaopen_bee_thread(luadbg_State* L); #if defined(_WIN32) @@ -64,6 +67,7 @@ static luadbgL_Reg cmodule[] = { { "bee.epoll", luaopen_bee_epoll }, { "bee.filesystem", luaopen_bee_filesystem }, { "bee.socket", luaopen_bee_socket }, + { "bee.platform", luaopen_bee_platform }, { "bee.sys", luaopen_bee_sys }, { "bee.thread", luaopen_bee_thread }, #if defined(_WIN32) From 875cf2e81c8608275da8972eb9d6e63b1506d0f0 Mon Sep 17 00:00:00 2001 From: fesily Date: Thu, 19 Jun 2025 16:59:29 +0800 Subject: [PATCH 2/3] Update bee_module.cpp --- src/luadebug/luadbg/bee_module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/luadebug/luadbg/bee_module.cpp b/src/luadebug/luadbg/bee_module.cpp index f184d1a6..c5329746 100644 --- a/src/luadebug/luadbg/bee_module.cpp +++ b/src/luadebug/luadbg/bee_module.cpp @@ -41,6 +41,7 @@ extern "C" { #if defined(_WIN32) # include +# include #endif extern "C" int luaopen_luadebug_hookmgr(luadbg_State* L); From 60bff077b905eac9ad4847045dc5573f9bba858c Mon Sep 17 00:00:00 2001 From: fesily Date: Thu, 19 Jun 2025 17:03:04 +0800 Subject: [PATCH 3/3] format code --- src/luadebug/luadbg/bee_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luadebug/luadbg/bee_module.cpp b/src/luadebug/luadbg/bee_module.cpp index c5329746..0d16ec6d 100644 --- a/src/luadebug/luadbg/bee_module.cpp +++ b/src/luadebug/luadbg/bee_module.cpp @@ -40,8 +40,8 @@ extern "C" { #include "luadbg/bee_module.h" #if defined(_WIN32) -# include # include +# include #endif extern "C" int luaopen_luadebug_hookmgr(luadbg_State* L);