summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
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 0a72b2456..9b9ede041 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -117,6 +117,7 @@ tb_int_t xm_io_socket_bind(lua_State* lua);
tb_int_t xm_io_socket_listen(lua_State* lua);
tb_int_t xm_io_socket_accept(lua_State* lua);
tb_int_t xm_io_socket_connect(lua_State* lua);
+tb_int_t xm_io_socket_send(lua_State* lua);
tb_int_t xm_io_socket_close(lua_State* lua);
// the path functions
@@ -258,6 +259,7 @@ static luaL_Reg const g_io_functions[] =
, { "socket_listen", xm_io_socket_listen }
, { "socket_accept", xm_io_socket_accept }
, { "socket_connect", xm_io_socket_connect }
+, { "socket_send", xm_io_socket_send }
, { "socket_close", xm_io_socket_close }
, { tb_null, tb_null }
};