added ZSTD_sizeofDCtx()

This commit is contained in:
Yann Collet committed 2016-07-11 13:09:52 +02:00
1 parent 3ae543ce75
commit 8e0ee681b8
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ struct ZSTD_DCtx_s
BYTE headerBuffer[ZSTD_FRAMEHEADERSIZE_MAX];
}; /* typedef'd to ZSTD_DCtx within "zstd_static.h" */
size_t ZSTD_sizeofDCtx (void) { return sizeof(ZSTD_DCtx); } /* non published interface */
size_t ZSTD_sizeofDCtx (const ZSTD_DCtx* dctx) { return sizeof(*dctx); }
size_t ZSTD_decompressBegin(ZSTD_DCtx* dctx)
{