diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -656,10 +656,10 @@ ZEXTERN int ZEXPORT deflateCopy OF((z_streamp dest, | |||
656 | 656 | ||
657 | ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm)); | 657 | ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm)); |
658 | /* | 658 | /* |
659 | This function is equivalent to deflateEnd followed by deflateInit, | 659 | This function is equivalent to deflateEnd followed by deflateInit, but |
660 | but does not free and reallocate all the internal compression state. The | 660 | does not free and reallocate the internal compression state. The stream |
661 | stream will keep the same compression level and any other attributes that | 661 | will leave the compression level and any other attributes that may have been |
662 | may have been set by deflateInit2. | 662 | set unchanged. |
663 | 663 | ||
664 | deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source | 664 | deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source |
665 | stream state was inconsistent (such as zalloc or state being Z_NULL). | 665 | stream state was inconsistent (such as zalloc or state being Z_NULL). |