diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-04-27 01:31:56 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-04-27 01:31:56 (GMT) |
commit | ad2dd6df3f62340c6f4ad6d70e805ade7037afbd (patch) | |
tree | 54d185c746e0c34f1d4a711e2d5c9c16c1fe61a8 /lib/lz4frame.h | |
parent | c9cbb8fc069f93708cbc6a053cf06f8c965f28e5 (diff) | |
download | lz4-ad2dd6df3f62340c6f4ad6d70e805ade7037afbd.zip lz4-ad2dd6df3f62340c6f4ad6d70e805ade7037afbd.tar.gz lz4-ad2dd6df3f62340c6f4ad6d70e805ade7037afbd.tar.bz2 |
moved lz4frame context types to incomplete typedef
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 6c4dbed..05fbc5f 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -144,9 +144,9 @@ size_t LZ4F_compressFrame(void* dstBuffer, size_t dstMaxSize, const void* srcBuf /********************************** - * Advanced compression functions - * ********************************/ -typedef long long* LZ4F_compressionContext_t; /* must be aligned on 8-bytes */ +* Advanced compression functions +**********************************/ +typedef struct LZ4F_cctx_s* LZ4F_compressionContext_t; /* must be aligned on 8-bytes */ typedef struct { unsigned stableSrc; /* 1 == src content will remain available on future calls to LZ4F_compress(); avoid saving src content within tmp buffer as future dictionary */ @@ -223,10 +223,10 @@ size_t LZ4F_compressEnd(LZ4F_compressionContext_t cctx, void* dstBuffer, size_t /*********************************** - * Decompression functions - * *********************************/ +* Decompression functions +***********************************/ -typedef long long* LZ4F_decompressionContext_t; /* must be aligned on 8-bytes */ +typedef struct LZ4F_dctx_s* LZ4F_decompressionContext_t; /* must be aligned on 8-bytes */ typedef struct { unsigned stableDst; /* guarantee that decompressed data will still be there on next function calls (avoid storage into tmp buffers) */ |