zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 61cd9099e2edfc363a932b3726e127c9ba3d6ee9 (tree)
parent 389c26025283edef2206d19d9ad1ddc41e98f007
Author: Timon Kruiper <timonkruiper@gmail.com>
Date:   Tue,  8 Sep 2020 15:41:07 +0200

Zlib: Make deinit function public

Diffstat:
Mlib/std/compress/zlib.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/compress/zlib.zig b/lib/std/compress/zlib.zig @@ -62,7 +62,7 @@ pub fn ZlibStream(comptime ReaderType: type) type { }; } - fn deinit(self: *Self) void { + pub fn deinit(self: *Self) void { self.allocator.free(self.window_slice); }