re-enable LZ4_resetStreamHC()
authorYann Collet <cyan@fb.com>
Tue, 9 Apr 2019 21:00:30 +0000 (14:00 -0700)
committerYann Collet <cyan@fb.com>
Tue, 9 Apr 2019 21:00:30 +0000 (14:00 -0700)
towards deprecation, but still available and fully supported

lib/lz4hc.h

index 445c126..ea90230 100644 (file)
@@ -310,7 +310,7 @@ LZ4_DEPRECATED("use LZ4_initStreamHC() instead") LZ4LIB_API  int   LZ4_resetStre
  * It is recommended to switch to LZ4_initStreamHC().
  * LZ4_resetStreamHC() will generate deprecation warnings in a future version.
  */
-//LZ4LIB_API void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionLevel);
+LZ4LIB_API void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionLevel);
 
 
 #if defined (__cplusplus)