From 6923f0df2a2f4f9312d45e918e1ede5bd4a34866 Mon Sep 17 00:00:00 2001 From: hackerchai Date: Fri, 26 Jul 2024 19:01:53 +0800 Subject: [PATCH] fix(c/libuv): fix return type FsType Signed-off-by: hackerchai --- c/libuv/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/libuv/fs.go b/c/libuv/fs.go index 42afbe8a..227d4a8c 100644 --- a/c/libuv/fs.go +++ b/c/libuv/fs.go @@ -112,7 +112,7 @@ type FsPollCb func(handle *FsPoll, status c.Int, events c.Int) /* Fs related function and method */ //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 func FsGetPath(req *Fs) *c.Char