Clean up os2.File.impl usage
This commit is contained in:
1 parent
2d56e3805b
commit
5de6016e7f
4 files changed
+111
-119
No files matched your search
@@ -7,7 +7,7 @@ import "core:sys/linux"
|
||||
import "core:path/filepath"
|
||||
|
||||
_fstat :: proc(f: ^File, allocator: runtime.Allocator) -> (File_Info, Error) {
|
||||
impl := (^_File)(f.impl)
|
||||
impl := (^File_Impl)(f.impl)
|
||||
return _fstat_internal(impl.fd, allocator)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user