diff options
Diffstat (limited to 'core/src/xmake/machine.c')
| -rw-r--r-- | core/src/xmake/machine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index 2db633946..d1e86ab68 100644 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -79,6 +79,7 @@ tb_int_t xm_os_setenv(lua_State* lua); tb_int_t xm_os_getenv(lua_State* lua); tb_int_t xm_os_emptydir(lua_State* lua); tb_int_t xm_os_strerror(lua_State* lua); +tb_int_t xm_os_getwinsize(lua_State* lua); // the path functions tb_int_t xm_path_relative(lua_State* lua); @@ -126,6 +127,7 @@ static luaL_Reg const g_os_functions[] = , { "getenv", xm_os_getenv } , { "emptydir", xm_os_emptydir } , { "strerror", xm_os_strerror } +, { "getwinsize", xm_os_getwinsize} , { tb_null, tb_null } }; |
