summaryrefslogtreecommitdiffstats
path: root/lib/lz4hc.h
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-10 01:23:32 (GMT)
committerYann Collet <cyan@fb.com>2019-04-10 01:23:32 (GMT)
commitdb60ed19b131e59485f0a716865bd59381815145 (patch)
tree30eb1a2232d4692d69ef60904047ec1fb3e54c52 /lib/lz4hc.h
parent9fdc1a01184b5a6f676aba224c7cb4eac5a1e6c4 (diff)
downloadlz4-db60ed19b131e59485f0a716865bd59381815145.zip
lz4-db60ed19b131e59485f0a716865bd59381815145.tar.gz
lz4-db60ed19b131e59485f0a716865bd59381815145.tar.bz2
added versions in comments
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r--lib/lz4hc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h
index ea90230..cdc6d89 100644
--- a/lib/lz4hc.h
+++ b/lib/lz4hc.h
@@ -265,6 +265,10 @@ union LZ4_streamHC_u {
* Static allocation shall only be used in combination with static linking.
*/
+/* LZ4_initStreamHC() : v1.9.0+
+ * Required before first use of a statically allocated LZ4_streamHC_t.
+ * Before v1.9.0 : use LZ4_resetStreamHC() instead
+ */
LZ4LIB_API LZ4_streamHC_t* LZ4_initStreamHC (void* buffer, size_t size);
@@ -351,7 +355,7 @@ LZ4LIB_STATIC_API void LZ4_setCompressionLevel(
LZ4LIB_STATIC_API void LZ4_favorDecompressionSpeed(
LZ4_streamHC_t* LZ4_streamHCPtr, int favor);
-/*! LZ4_resetStreamHC_fast() :
+/*! LZ4_resetStreamHC_fast() : v1.9.0+
* When an LZ4_streamHC_t is known to be in a internally coherent state,
* it can often be prepared for a new compression with almost no work, only
* sometimes falling back to the full, expensive reset that is always required