remove File_Impl_Kind from file_linux
This commit is contained in:
1 parent
278a63caaa
commit
792640df1f
2 files changed
+5
-16
No files matched your search
@@ -13,10 +13,5 @@ _pipe :: proc() -> (r, w: ^File, err: Error) {
|
||||
r = _new_file(uintptr(fds[0])) or_return
|
||||
w = _new_file(uintptr(fds[1])) or_return
|
||||
|
||||
r_impl := (^File_Impl)(r.impl)
|
||||
r_impl.kind = .Pipe
|
||||
w_impl := (^File_Impl)(w.impl)
|
||||
w_impl.kind = .Pipe
|
||||
|
||||
return
|
||||
}
|
||||
Reference in new issue
Block a user