1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-30 22:23:13 +03:00

Advanced API change : Cctx & DCtx are now incomplete types for stricter type checking

This commit is contained in:
Yann Collet
2015-07-04 18:20:42 -08:00
parent 14c6d0db9f
commit 7393c5a51d
3 changed files with 31 additions and 29 deletions

View File

@ -235,7 +235,7 @@ unsigned long long FIO_compressFilename(const char* output_filename, const char*
FILE* finput;
FILE* foutput;
size_t sizeCheck, cSize;
ZSTD_cctx_t ctx;
ZSTD_Cctx* ctx;
/* Init */
@ -319,7 +319,7 @@ unsigned long long FIO_decompressFilename(const char* output_filename, const cha
U32 wNbBlocks = 4;
U64 filesize = 0;
BYTE* header[MAXHEADERSIZE];
ZSTD_cctx_t dctx;
ZSTD_Dctx* dctx;
size_t toRead;
size_t sizeCheck;