fix(c/libuv): fix return type FsType

Signed-off-by: hackerchai <i@hackerchai.com>
This commit is contained in:
hackerchai
2024-07-26 19:01:53 +08:00
parent bc584aa56e
commit 6923f0df2a

View File

@@ -112,7 +112,7 @@ type FsPollCb func(handle *FsPoll, status c.Int, events c.Int)
/* Fs related function and method */ /* Fs related function and method */
//go:linkname FsGetType C.uv_fs_get_type //go:linkname FsGetType C.uv_fs_get_type
func FsGetType(req *Fs) *FsType func FsGetType(req *Fs) FsType
//go:linkname FsGetPath C.uv_fs_get_path //go:linkname FsGetPath C.uv_fs_get_path
func FsGetPath(req *Fs) *c.Char func FsGetPath(req *Fs) *c.Char