Make os2.File a more generic interface

This commit is contained in:
gingerBill
2024-07-14 15:09:33 +01:00
parent 3d38f14202
commit 4f73b35da5
5 changed files with 103 additions and 74 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ import "core:time"
import "base:runtime"
File :: struct {
impl: _File,
impl: rawptr,
stream: io.Stream,
fstat: Fstat_Callback,
fstat: Fstat_Callback,
}
File_Mode :: distinct u32