diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-11-15 04:23:39 -0500 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-11-15 04:23:39 -0500 |
| commit | 3e09a6ae3aea3b90961e4216339368775ea7c842 (patch) | |
| tree | 181277b38e19e04d24868e29ca58a9002e1ec284 /io/file.tnsl | |
| parent | 11a6fb0fed699a4028bcd454c0f175ca01607a68 (diff) | |
cstring Map to void pointer
Diffstat (limited to 'io/file.tnsl')
| -rw-r--r-- | io/file.tnsl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io/file.tnsl b/io/file.tnsl index 2786179..83e9d0d 100644 --- a/io/file.tnsl +++ b/io/file.tnsl @@ -10,10 +10,8 @@ struct File { /; method File /; init (~uint8 str) - self.path.init() - self.path.from_cstr(str) - self.handle = 0 - self.handle-- + self.path.init(str) + self.handle = -1 self.at_end = false self.pos = 0 ;/ |