diff options
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 78a2f44fa..1a74387d2 100644 --- a/core/src/xmake/engine.c +++ b/core/src/xmake/engine.c @@ -142,6 +142,7 @@ tb_int_t xm_io_filelock_close(lua_State* lua); // the io/socket functions tb_int_t xm_io_socket_open(lua_State* lua); tb_int_t xm_io_socket_rawfd(lua_State* lua); +tb_int_t xm_io_socket_peeraddr(lua_State* lua); tb_int_t xm_io_socket_wait(lua_State* lua); tb_int_t xm_io_socket_bind(lua_State* lua); tb_int_t xm_io_socket_ctrl(lua_State* lua); @@ -345,6 +346,7 @@ static luaL_Reg const g_io_functions[] = , { "filelock_close", xm_io_filelock_close } , { "socket_open", xm_io_socket_open } , { "socket_rawfd", xm_io_socket_rawfd } +, { "socket_peeraddr", xm_io_socket_peeraddr } , { "socket_wait", xm_io_socket_wait } , { "socket_bind", xm_io_socket_bind } , { "socket_ctrl", xm_io_socket_ctrl } |
