diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2018-01-31 13:24:12 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2018-01-31 13:24:12 -0800 |
commit | e99813dbfe9a09e33d42e8da9e550a0c4b7ff734 (patch) | |
tree | 396bf6913afce54a8cde744224c6e7d2658b6834 | |
parent | bf88202e314898f74b42995a71bb67d1bcc51883 (diff) | |
download | zlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.tar.gz zlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.tar.bz2 zlib-e99813dbfe9a09e33d42e8da9e550a0c4b7ff734.zip |
Correct the initialization requirements for deflateInit2().
-rw-r--r-- | zlib.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -543,8 +543,7 @@ ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm, | |||
543 | int strategy)); | 543 | int strategy)); |
544 | 544 | ||
545 | This is another version of deflateInit with more compression options. The | 545 | This is another version of deflateInit with more compression options. The |
546 | fields next_in, zalloc, zfree and opaque must be initialized before by the | 546 | fields zalloc, zfree and opaque must be initialized before by the caller. |
547 | caller. | ||
548 | 547 | ||
549 | The method parameter is the compression method. It must be Z_DEFLATED in | 548 | The method parameter is the compression method. It must be Z_DEFLATED in |
550 | this version of the library. | 549 | this version of the library. |