summaryrefslogtreecommitdiff
path: root/insert_string_tpl.h
diff options
context:
space:
mode:
authorPavel P <pavlov.pavel@gmail.com>2026-01-20 21:50:58 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2026-01-21 23:03:44 +0100
commit6729ae20cf2299a01a71946fdd37038eaee1735c (patch)
tree52710ad842d61a3127f0a5b60763d7b1c02e26f8 /insert_string_tpl.h
parent51ec71d98523794b61381bae4cb53a0f09d06437 (diff)
downloadProject-Tick-6729ae20cf2299a01a71946fdd37038eaee1735c.tar.gz
Project-Tick-6729ae20cf2299a01a71946fdd37038eaee1735c.zip
Move cleanup undefs to insert_string_tpl.h
Diffstat (limited to 'insert_string_tpl.h')
-rw-r--r--insert_string_tpl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/insert_string_tpl.h b/insert_string_tpl.h
index 8084054864..a5c3abf384 100644
--- a/insert_string_tpl.h
+++ b/insert_string_tpl.h
@@ -117,3 +117,16 @@ Z_FORCEINLINE static void INSERT_STRING(deflate_state *const s, uint32_t str, ui
}
}
}
+
+// Cleanup
+#undef HASH_SLIDE
+#undef HASH_CALC
+#undef HASH_CALC_READ
+#undef HASH_CALC_MASK
+#undef HASH_CALC_OFFSET
+#undef HASH_CALC_VAR
+#undef HASH_CALC_VAR_INIT
+#undef UPDATE_HASH
+#undef INSERT_STRING
+#undef QUICK_INSERT_STRING
+#undef QUICK_INSERT_VALUE