mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
remove File_Impl_Kind from file_linux
This commit is contained in:
@@ -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