summaryrefslogtreecommitdiffstats
path: root/lib/lz4.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/lz4.h
parent9fdc1a01184b5a6f676aba224c7cb4eac5a1e6c4 (diff)
downloadlz4-db60ed19b131e59485f0a716865bd59381815145.zip
lz4-db60ed19b131e59485f0a716865bd59381815145.tar.gz
lz4-db60ed19b131e59485f0a716865bd59381815145.tar.bz2
added versions in comments
Diffstat (limited to 'lib/lz4.h')
-rw-r--r--lib/lz4.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lz4.h b/lib/lz4.h
index e55e1c6..b86417a 100644
--- a/lib/lz4.h
+++ b/lib/lz4.h
@@ -526,7 +526,7 @@ union LZ4_stream_u {
LZ4_stream_t_internal internal_donotuse;
} ; /* previously typedef'd to LZ4_stream_t */
-/*! LZ4_initStream() :
+/*! LZ4_initStream() : v1.9.0+
* An LZ4_stream_t structure must be initialized at least once.
* This is automatically done when invoking LZ4_createStream(),
* but it's not when the structure is simply declared on stack (for example).
@@ -538,6 +538,7 @@ union LZ4_stream_u {
* Note : initialization fails if size and alignment conditions are not respected.
* In which case, the function will @return NULL.
* Note2: An LZ4_stream_t structure guarantees correct alignment and size.
+ * Note3: Before v1.9.0, use LZ4_resetStream() instead
*/
LZ4LIB_API LZ4_stream_t* LZ4_initStream (void* buffer, size_t size);