mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
ZLIB: Split up input from stream and memory into own code paths.
This commit is contained in:
@@ -65,7 +65,7 @@ main :: proc() {
|
||||
if file == "-" {
|
||||
// Read from stdin
|
||||
s := os.stream_from_handle(os.stdin);
|
||||
ctx := &compress.Context{
|
||||
ctx := &compress.Context_Stream_Input{
|
||||
input = s,
|
||||
};
|
||||
err = load(ctx, &buf);
|
||||
|
||||
Reference in New Issue
Block a user