fix(c/libuv): rename UvFile into File & remove unused File struct

Signed-off-by: hackerchai <i@hackerchai.com>
This commit is contained in:
hackerchai
2024-07-26 19:04:49 +08:00
parent 6923f0df2a
commit bc93bda1b7
3 changed files with 14 additions and 19 deletions

View File

@@ -297,7 +297,7 @@ func (handle *Handle) Fileno(fd *OsFd) c.Int {
}
//go:linkname UvPipe C.uv_pipe
func UvPipe(fds [2]UvFile, readFlags c.Int, writeFlags c.Int) c.Int {
func UvPipe(fds [2]File, readFlags c.Int, writeFlags c.Int) c.Int {
return 0
}