Merge pull request #593 from felixhandte/lz4hc-publish-static
authorYann Collet <Cyan4973@users.noreply.github.com>
Tue, 16 Oct 2018 22:33:58 +0000 (15:33 -0700)
committerGitHub <noreply@github.com>
Tue, 16 Oct 2018 22:33:58 +0000 (15:33 -0700)
Extend Macro to Allow Publishing Experimental LZ4HC Functions in Dynamic Libraries

1  2 
lib/lz4.h
lib/lz4hc.h

diff --cc lib/lz4.h
Simple merge
diff --cc lib/lz4hc.h
@@@ -318,13 -318,9 +322,14 @@@ LZ4LIB_STATIC_API void LZ4_favorDecompr
   *  - the stream was in an indeterminate state and was used in a compression
   *    call that fully reset the state (LZ4_compress_HC_extStateHC()) and that
   *    returned success
 + *
 + *  Note:
 + *  A stream that was last used in a compression call that returned an error
 + *  may be passed to this function. However, it will be fully reset, which will
 + *  clear any existing history and settings from the context.
   */
- void LZ4_resetStreamHC_fast(LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel);
+ LZ4LIB_STATIC_API void LZ4_resetStreamHC_fast(
+     LZ4_streamHC_t* LZ4_streamHCPtr, int compressionLevel);
  
  /*! LZ4_compress_HC_extStateHC_fastReset() :
   *  A variant of LZ4_compress_HC_extStateHC().