diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-03-13 19:42:03 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-03-13 19:42:03 (GMT) |
commit | 146e67653171b9b43322e2ab3d8be7b085b03bf7 (patch) | |
tree | 908d21672a68851fb7c6229282ba6bbd90932664 /lib/lz4.h | |
parent | c4aef7cd62cff0b71464dc58f40efc284bcb5a7b (diff) | |
download | lz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.zip lz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.tar.gz lz4-146e67653171b9b43322e2ab3d8be7b085b03bf7.tar.bz2 |
Restore LZ4_sizeofStreamState, We Didn't Actually Need to Delete It
Diffstat (limited to 'lib/lz4.h')
-rw-r--r-- | lib/lz4.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -477,6 +477,9 @@ LZ4_DEPRECATED("use LZ4_compress_fast_continue() instead") LZ4LIB_API int LZ4_co LZ4_DEPRECATED("use LZ4_decompress_fast() instead") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize); LZ4_DEPRECATED("use LZ4_decompress_safe() instead") LZ4LIB_API int LZ4_uncompress_unknownOutputSize (const char* source, char* dest, int isize, int maxOutputSize); +/* Obsolete streaming functions; use new streaming interface whenever possible */ +LZ4_DEPRECATED("use LZ4_createStream() instead") LZ4LIB_API int LZ4_sizeofStreamState(void); + /* Obsolete streaming decoding functions */ LZ4_DEPRECATED("use LZ4_decompress_safe_usingDict() instead") LZ4LIB_API int LZ4_decompress_safe_withPrefix64k (const char* src, char* dst, int compressedSize, int maxDstSize); LZ4_DEPRECATED("use LZ4_decompress_fast_usingDict() instead") LZ4LIB_API int LZ4_decompress_fast_withPrefix64k (const char* src, char* dst, int originalSize); |