diff options
Diffstat (limited to 'contrib/ada/zlib-thin.ads')
-rw-r--r-- | contrib/ada/zlib-thin.ads | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/contrib/ada/zlib-thin.ads b/contrib/ada/zlib-thin.ads index af1287a..c227374 100644 --- a/contrib/ada/zlib-thin.ads +++ b/contrib/ada/zlib-thin.ads | |||
@@ -146,17 +146,6 @@ private package ZLib.Thin is | |||
146 | strategy : Int) | 146 | strategy : Int) |
147 | return Int; -- zlib.h:506 | 147 | return Int; -- zlib.h:506 |
148 | 148 | ||
149 | function deflateBound | ||
150 | (strm : Z_Streamp; | ||
151 | sourceLen : ULong) | ||
152 | return Int; -- zlib.h:595 | ||
153 | |||
154 | function deflatePrime | ||
155 | (strm : Z_Streamp; | ||
156 | bits : Int; | ||
157 | value : Int) | ||
158 | return Int; -- zlib.h:604 | ||
159 | |||
160 | function inflateSetDictionary | 149 | function inflateSetDictionary |
161 | (strm : Z_Streamp; | 150 | (strm : Z_Streamp; |
162 | dictionary : Byte_Access; | 151 | dictionary : Byte_Access; |
@@ -399,6 +388,12 @@ private package ZLib.Thin is | |||
399 | 388 | ||
400 | function zlibCompileFlags return ULong; | 389 | function zlibCompileFlags return ULong; |
401 | 390 | ||
391 | function deflatePrime | ||
392 | (strm : Z_Streamp; | ||
393 | bits : Int; | ||
394 | value : Int) | ||
395 | return Int; | ||
396 | |||
402 | private | 397 | private |
403 | 398 | ||
404 | type Z_Stream is record -- zlib.h:68 | 399 | type Z_Stream is record -- zlib.h:68 |
@@ -432,8 +427,6 @@ private | |||
432 | pragma Import (C, deflateCopy, "deflateCopy"); | 427 | pragma Import (C, deflateCopy, "deflateCopy"); |
433 | pragma Import (C, deflateReset, "deflateReset"); | 428 | pragma Import (C, deflateReset, "deflateReset"); |
434 | pragma Import (C, deflateParams, "deflateParams"); | 429 | pragma Import (C, deflateParams, "deflateParams"); |
435 | pragma Import (C, deflateBound, "deflateBound"); | ||
436 | pragma Import (C, deflatePrime, "deflatePrime"); | ||
437 | pragma Import (C, inflateSetDictionary, "inflateSetDictionary"); | 430 | pragma Import (C, inflateSetDictionary, "inflateSetDictionary"); |
438 | pragma Import (C, inflateSync, "inflateSync"); | 431 | pragma Import (C, inflateSync, "inflateSync"); |
439 | pragma Import (C, inflateReset, "inflateReset"); | 432 | pragma Import (C, inflateReset, "inflateReset"); |
@@ -467,13 +460,14 @@ private | |||
467 | pragma Import (C, inflateSyncPoint, "inflateSyncPoint"); | 460 | pragma Import (C, inflateSyncPoint, "inflateSyncPoint"); |
468 | pragma Import (C, get_crc_table, "get_crc_table"); | 461 | pragma Import (C, get_crc_table, "get_crc_table"); |
469 | 462 | ||
470 | -- since zlib 1.2.0: | 463 | -- added in zlib 1.2.1: |
471 | 464 | ||
472 | pragma Import (C, inflateCopy, "inflateCopy"); | 465 | pragma Import (C, inflateCopy, "inflateCopy"); |
473 | pragma Import (C, compressBound, "compressBound"); | 466 | pragma Import (C, compressBound, "compressBound"); |
474 | pragma Import (C, deflateBound, "deflateBound"); | 467 | pragma Import (C, deflateBound, "deflateBound"); |
475 | pragma Import (C, gzungetc, "gzungetc"); | 468 | pragma Import (C, gzungetc, "gzungetc"); |
476 | pragma Import (C, zlibCompileFlags, "zlibCompileFlags"); | 469 | pragma Import (C, zlibCompileFlags, "zlibCompileFlags"); |
470 | pragma Import (C, deflatePrime, "deflatePrime"); | ||
477 | 471 | ||
478 | pragma Import (C, inflateBackInit, "inflateBackInit_"); | 472 | pragma Import (C, inflateBackInit, "inflateBackInit_"); |
479 | 473 | ||