fix(c/libuv): Adjust comment errors and demo code

This commit is contained in:
赵英杰
2024-08-08 10:04:20 +08:00
parent aa4f518262
commit 2823ac1aee
2 changed files with 20 additions and 29 deletions

View File

@@ -251,7 +251,7 @@ func (req *Req) GetData() c.Pointer {
return nil
}
// llgo:link (*Req).SetData C.uv_handle_set_data
// llgo:link (*Req).SetData C.uv_req_set_data
func (req *Req) SetData(data c.Pointer) {}
// llgo:link (*Req).GetType C.uv_req_get_type