diff options
| author | ruki <[email protected]> | 2024-03-28 23:01:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-03-28 23:01:07 +0800 |
| commit | 024b14ed93b1bc7e3b30d8dc68105ce2cb5016d6 (patch) | |
| tree | 0f41435fe2ba5f0e9cb919174d957b35d2cf3dbd /core/src/xmake/engine.c | |
| parent | 4d4edd5ba69932b2206c891a18dee0f734327767 (diff) | |
add os.signal #4889
Diffstat (limited to 'core/src/xmake/engine.c')
| -rw-r--r-- | core/src/xmake/engine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/engine.c b/core/src/xmake/engine.c index d79f59d6a..cbe1ed4fc 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -122,6 +122,7 @@ tb_int_t xm_os_syserror(lua_State* lua); tb_int_t xm_os_strerror(lua_State* lua); tb_int_t xm_os_getwinsize(lua_State* lua); tb_int_t xm_os_getpid(lua_State* lua); +tb_int_t xm_os_signal(lua_State* lua); #ifndef TB_CONFIG_OS_WINDOWS tb_int_t xm_os_uid(lua_State* lua); tb_int_t xm_os_gid(lua_State* lua); @@ -344,6 +345,7 @@ static luaL_Reg const g_os_functions[] = , { "filesize", xm_os_filesize } , { "getwinsize", xm_os_getwinsize} , { "getpid", xm_os_getpid } +, { "signal", xm_os_signal } #ifndef TB_CONFIG_OS_WINDOWS , { "uid", xm_os_uid } , { "gid", xm_os_gid } |
