mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
Make CompressorOptions public
This commit is contained in:
parent
a3c9c154b4
commit
62258555b6
@ -5,6 +5,7 @@ const deflate = @import("deflate/compressor.zig");
|
|||||||
const inflate = @import("deflate/decompressor.zig");
|
const inflate = @import("deflate/decompressor.zig");
|
||||||
|
|
||||||
pub const Compression = deflate.Compression;
|
pub const Compression = deflate.Compression;
|
||||||
|
pub const CompressorOptions = deflate.CompressorOptions;
|
||||||
pub const Compressor = deflate.Compressor;
|
pub const Compressor = deflate.Compressor;
|
||||||
pub const Decompressor = inflate.Decompressor;
|
pub const Decompressor = inflate.Decompressor;
|
||||||
|
|
||||||
|
|||||||
@ -202,7 +202,7 @@ fn bulkHash4(b: []u8, dst: []u32) u32 {
|
|||||||
return hb;
|
return hb;
|
||||||
}
|
}
|
||||||
|
|
||||||
const CompressorOptions = struct {
|
pub const CompressorOptions = struct {
|
||||||
level: Compression = .default_compression,
|
level: Compression = .default_compression,
|
||||||
dictionary: ?[]const u8 = null,
|
dictionary: ?[]const u8 = null,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user