diff options
author | Yann Collet <cyan@fb.com> | 2017-05-10 23:28:36 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-05-10 23:28:36 (GMT) |
commit | e60cbb5cacaa43eda7a3df7c2d9051a9437e7046 (patch) | |
tree | 0c7825e9a62639c15380479e9ca49596e0022e7e /lib/lz4frame.h | |
parent | 2012e4de9e2c33a5abb34d40082afc8918852c6e (diff) | |
download | lz4-e60cbb5cacaa43eda7a3df7c2d9051a9437e7046.zip lz4-e60cbb5cacaa43eda7a3df7c2d9051a9437e7046.tar.gz lz4-e60cbb5cacaa43eda7a3df7c2d9051a9437e7046.tar.bz2 |
added test for LZ4F_resetDecompressionContext()
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 9a2130a..b1719e2 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -364,14 +364,11 @@ LZ4FLIB_API size_t LZ4F_decompress(LZ4F_dctx* dctx, /*! LZ4F_resetDecompressionContext() : v1.8.0 - * When decompression ends successfully, - * it's possible to start a new decompression immediately - * re-using the same context. - * However, in case of an error, the context is left in "undefined" state. + * In case of an error, the context is left in "undefined" state. * In which case, it's necessary to reset it, before re-using it. * This method can also be used to abruptly stop an unfinished decompression, - * and start a new on the same context. */ -LZ4FLIB_API LZ4F_errorCode_t LZ4F_resetDecompressionContext(LZ4F_dctx* dctx); + * and start a new with the same context. */ +LZ4FLIB_API void LZ4F_resetDecompressionContext(LZ4F_dctx* dctx); /* always successful */ |