aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-07-15 00:01:31 +0100
committergingerBill <bill@gingerbill.org>2024-07-15 00:01:31 +0100
commit46817e8f685ecc18bcf7b3dbbdecbf4d59ec3cc2 (patch)
treea0b855c29019cf00e317600e549ede5d653e0017
parent196ac7e6d674ee8f9d222b18a1f510d3888195f2 (diff)
parente3e31b42d0c7bfeaed053cd0c706820ef0cf1778 (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
-rw-r--r--core/compress/zlib/zlib.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/compress/zlib/zlib.odin b/core/compress/zlib/zlib.odin
index 005267d15..c7ae9e9c8 100644
--- a/core/compress/zlib/zlib.odin
+++ b/core/compress/zlib/zlib.odin
@@ -235,7 +235,7 @@ allocate_huffman_table :: proc(allocator := context.allocator) -> (z: ^Huffman_T
}
@(optimization_mode="favor_size")
-build_huffman :: proc(z: ^Huffman_Table, code_lengths: []u8) -> (err: Error) {
+build_huffman :: #force_no_inline proc(z: ^Huffman_Table, code_lengths: []u8) -> (err: Error) {
sizes: [HUFFMAN_MAX_BITS+1]int
next_code: [HUFFMAN_MAX_BITS+1]int
@@ -670,4 +670,4 @@ inflate_from_byte_array_raw :: proc(input: []u8, buf: ^bytes.Buffer, raw := fals
return inflate_raw(&ctx, expected_output_size=expected_output_size)
}
-inflate :: proc{inflate_from_context, inflate_from_byte_array}
+inflate :: proc{inflate_from_context, inflate_from_byte_array} \ No newline at end of file