zstd/lib/compress
Yann Collet f3b8f90b6d changed initStatic?Dict() return type to const ZSTD_?Dict*
ZSTD_create?Dict() is required to produce a ?Dict* return type
because `free()` does not accept a `const type*` argument.
If it wasn't for this restriction, I would have preferred to create a `const ?Dict*` object
to emphasize the fact that, once created, a dictionary never changes
(hence can be shared concurrently until the end of its lifetime).

There is no such limitation with initStatic?Dict() :
as stated in the doc, there is no corresponding free() function,
since `workspace` is provided, hence allocated, externally,
it can only be free() externally.

Which means, ZSTD_initStatic?Dict() can return a `const ZSTD_?Dict*` pointer.

Tested with `make all`, to catch initStatic's users,
which, incidentally, also updated zstd.h documentation.
2018-01-17 14:08:48 -08:00
..
fse_compress.c [zstd] Backport kernel patch from @ColinIanKing 2017-09-25 16:18:23 -07:00
huf_compress.c fixed #304 2018-01-11 11:16:32 -08:00
zstd_compress_internal.h Reorganize block state 2018-01-16 11:17:50 -08:00
zstd_compress.c changed initStatic?Dict() return type to const ZSTD_?Dict* 2018-01-17 14:08:48 -08:00
zstd_double_fast.c Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_double_fast.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_fast.c Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_fast.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_lazy.c Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_lazy.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_ldm.c Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_ldm.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_opt.c Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstd_opt.h Split ZSTD_CCtx into smaller sub-structures 2018-01-16 11:17:50 -08:00
zstdmt_compress.c Merge pull request #958 from facebook/continueCCtx 2017-12-20 00:12:50 +01:00
zstdmt_compress.h zstdmt via compress_generic: reduce opportunity to free/create mtctx 2017-12-16 12:48:13 -08:00