diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2018-12-02 18:35:41 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2018-12-02 18:36:18 -0500 |
| commit | a40d160a5ca7fe50680578541c40038e280272ce (patch) | |
| tree | b00fa8b07250e734b19c764bcc0ce7d0161a0373 /std/io.zig | |
| parent | 6f5e7ee09c9269cfcc454cde88960987054ee031 (diff) | |
| download | zig-a40d160a5ca7fe50680578541c40038e280272ce.tar.gz zig-a40d160a5ca7fe50680578541c40038e280272ce.zip | |
introduce std.io.SeekableStream
Relevant #764
dwarf debug info is modified to use this instead of std.os.File
directly to make it easier for bare metal projects to take advantage
of debug info parsing
Diffstat (limited to 'std/io.zig')
| -rw-r--r-- | std/io.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/std/io.zig b/std/io.zig index f4122a2f8b..bdca2b03e8 100644 --- a/std/io.zig +++ b/std/io.zig @@ -32,6 +32,8 @@ pub fn getStdIn() GetStdIoErrs!File { return File.openHandle(handle); } +pub const SeekableStream = @import("io/seekable_stream.zig").SeekableStream; + pub fn InStream(comptime ReadError: type) type { return struct { const Self = @This(); |
