summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2019-12-13 00:54:52 +0800
committerruki <[email protected]>2019-12-12 23:29:13 +0800
commit48c503cbca85ecea9e2ef9b5215f2e5c99c8bb24 (patch)
treefeffd02ceb2904d256f5216a93c09a5f500c9c62 /core/src/xmake/machine.c
parent880b3b96f8222a027b0387bd1bfbbd793267d5a6 (diff)
add poller.support
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index dd606f0b6..4fdc73204 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -128,6 +128,7 @@ tb_int_t xm_io_socket_close(lua_State* lua);
tb_int_t xm_io_poller_insert(lua_State* lua);
tb_int_t xm_io_poller_modify(lua_State* lua);
tb_int_t xm_io_poller_remove(lua_State* lua);
+tb_int_t xm_io_poller_support(lua_State* lua);
tb_int_t xm_io_poller_wait(lua_State* lua);
// the path functions
@@ -278,6 +279,7 @@ static luaL_Reg const g_io_functions[] =
, { "poller_insert", xm_io_poller_insert }
, { "poller_modify", xm_io_poller_modify }
, { "poller_remove", xm_io_poller_remove }
+, { "poller_support", xm_io_poller_support }
, { "poller_wait", xm_io_poller_wait }
, { tb_null, tb_null }
};