fix(c/libuv): Add missing essential funcs for uv_loop_t & uv_req_t

Signed-off-by: hackerchai <i@hackerchai.com>
This commit is contained in:
hackerchai
2024-09-19 18:42:31 +08:00
parent 4bf5dd15e9
commit 847a76b3a2
2 changed files with 15 additions and 0 deletions

View File

@@ -265,6 +265,11 @@ func (req *Req) GetType() ReqType {
return 0
}
// llgo:link (*Req).Cancel C.uv_cancel
func (req *Req) Cancel() c.Int {
return 0
}
// ----------------------------------------------
/* Stream related function and method */