diff --git a/c/libuv/_wrap/fs.c b/c/libuv/_wrap/fs.c deleted file mode 100644 index e3469edc..00000000 --- a/c/libuv/_wrap/fs.c +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include - -uv_fs_t* uv_fs_new() { - uv_fs_t* req = malloc(sizeof(uv_fs_t)); - return req; -} \ No newline at end of file diff --git a/c/libuv/fs.go b/c/libuv/fs.go index 1c4dfc25..9bb8f57f 100644 --- a/c/libuv/fs.go +++ b/c/libuv/fs.go @@ -6,10 +6,6 @@ import ( "github.com/goplus/llgo/c" ) -const ( - LLGoFiles = "$(pkg-config --cflags libuv): _wrap/fs.c" -) - const ( FS_UNKNOWN FsType = -1 FS_CUSTOM FsType = 0 @@ -110,9 +106,6 @@ type FsPollCb func(handle *FsPoll, status c.Int, events c.Int) /* Fs related function and method */ -//go:linkname FsNew C.uv_fs_new -func FsNew() *Fs - //go:linkname FsGetType C.uv_fs_get_type func FsGetType(req *Fs) FsType