diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-12-29 00:15:44 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-12-29 00:15:44 -0800 |
commit | 19761b8506f15d6eeeb6ccfab33a11abce0f40e7 (patch) | |
tree | cdc30a695e75ce713f6688b0c95c1cb411e2e55c /zlib.h | |
parent | 9d55abc96968db80749df5ebf412d36e2d66de26 (diff) | |
download | zlib-19761b8506f15d6eeeb6ccfab33a11abce0f40e7.tar.gz zlib-19761b8506f15d6eeeb6ccfab33a11abce0f40e7.tar.bz2 zlib-19761b8506f15d6eeeb6ccfab33a11abce0f40e7.zip |
Permit Z_NULL arguments to deflatePending.
This avoids having to create useless variables for return values
that aren't needed.
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -715,7 +715,8 @@ ZEXTERN int ZEXPORT deflatePending OF((z_streamp strm, | |||
715 | been generated, but not yet provided in the available output. The bytes not | 715 | been generated, but not yet provided in the available output. The bytes not |
716 | provided would be due to the available output space having being consumed. | 716 | provided would be due to the available output space having being consumed. |
717 | The number of bits of output not provided are between 0 and 7, where they | 717 | The number of bits of output not provided are between 0 and 7, where they |
718 | await more bits to join them in order to fill out a full byte. | 718 | await more bits to join them in order to fill out a full byte. If pending |
719 | or bits are Z_NULL, then those values are not set. | ||
719 | 720 | ||
720 | deflatePending returns Z_OK if success, or Z_STREAM_ERROR if the source | 721 | deflatePending returns Z_OK if success, or Z_STREAM_ERROR if the source |
721 | stream state was inconsistent. | 722 | stream state was inconsistent. |