some wrap to cpp

This commit is contained in:
luoliwoshang
2025-06-11 21:02:32 +08:00
parent bdff346a20
commit e7e9530eb8
8 changed files with 22 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
#include <uv.h>
extern "C" {
int uv_tcp_get_io_watcher_fd (uv_tcp_t* handle) {
return handle->io_watcher.fd;
}
}