aboutsummaryrefslogtreecommitdiff
path: root/zlib.map
diff options
context:
space:
mode:
authorMark Adler <git@madler.net>2026-01-04 10:34:44 -0600
committerMark Adler <git@madler.net>2026-01-05 15:03:04 -0600
commit916dc1ac351795c9bf86a3d19c3667b014b9d28e (patch)
tree08efd9aa0c5387fe80c1ce15a9fdb0ca8e29c01c /zlib.map
parentfd366384cf324d750596feb03be44ddf4d1e6acd (diff)
downloadzlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.tar.gz
zlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.tar.bz2
zlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.zip
Add compressBound_z and deflateBound_z functions for large values.
These take and return size_t integers, instead of unsigned longs, for those platforms with 32-bit longs. This commit also assures that overflows of either integer type results in the maximum value for that type, instead of wrapping to small values.
Diffstat (limited to 'zlib.map')
-rw-r--r--zlib.map7
1 files changed, 6 insertions, 1 deletions
diff --git a/zlib.map b/zlib.map
index 73f4fb6..e267d82 100644
--- a/zlib.map
+++ b/zlib.map
@@ -101,4 +101,9 @@ ZLIB_1.2.12 {
101 101
102ZLIB_1.3.1.2 { 102ZLIB_1.3.1.2 {
103 deflateUsed; 103 deflateUsed;
104} ZLIB_1.2.12; \ No newline at end of file 104} ZLIB_1.2.12;
105
106ZLIB_1.3.2 {
107 compressBound_z;
108 deflateBound_z;
109} ZLIB_1.3.1.2; \ No newline at end of file