From 9d8297bf04715c5b6884dc533b55ed5e3525d627 Mon Sep 17 00:00:00 2001 From: Christophe Chevalier Date: Fri, 18 Dec 2015 09:54:17 +0100 Subject: [PATCH 1/2] Update version to 0.4.5 in zstdlib resources --- lib/zstd.h | 2 +- visual/2013/zstdlib/zstdlib.rc | Bin 4610 -> 4610 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index b0c841f3..d6eb0b51 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -62,7 +62,7 @@ extern "C" { ***************************************/ #define ZSTD_VERSION_MAJOR 0 /* for breaking interface changes */ #define ZSTD_VERSION_MINOR 4 /* for new (non-breaking) interface capabilities */ -#define ZSTD_VERSION_RELEASE 3 /* for tweaks, bug-fixes, or development */ +#define ZSTD_VERSION_RELEASE 5 /* for tweaks, bug-fixes, or development */ #define ZSTD_VERSION_NUMBER (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE) ZSTDLIB_API unsigned ZSTD_versionNumber (void); diff --git a/visual/2013/zstdlib/zstdlib.rc b/visual/2013/zstdlib/zstdlib.rc index d5b107e331744d414f2945514e3afa761478b127..05e5bf8d2c09fe5ed7a07aa3b00bcf8c17249408 100644 GIT binary patch delta 53 zcmZotX;Rrx!NF)cxst<>(RA}_4ryj)QwF`sfn1W4A8>O_p1{So`3LtKMws9xJ|-3b Dohc5s delta 53 zcmZotX;Rrx!NF)exst<>(RlM}4ryj)V+Os+fn1W4A8>O_p1{So`3LtKMws9xJ|-3b DoGT8l From 8972f13b4a05309c1c9c3929190d565f969a6fb7 Mon Sep 17 00:00:00 2001 From: Christophe Chevalier Date: Fri, 18 Dec 2015 11:20:37 +0100 Subject: [PATCH 2/2] Added missing ZSTDLIB_API for ZSTD_decompress_usingDict and ZSTD_decompressDCtx --- lib/zstd_static.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/zstd_static.h b/lib/zstd_static.h index f78d464c..542b0309 100644 --- a/lib/zstd_static.h +++ b/lib/zstd_static.h @@ -115,15 +115,15 @@ ZSTDLIB_API size_t ZSTD_freeDCtx(ZSTD_DCtx* dctx); /** ZSTD_decompressDCtx * Same as ZSTD_decompress, with pre-allocated DCtx structure */ -size_t ZSTD_decompressDCtx(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src, size_t srcSize); +ZSTDLIB_API size_t ZSTD_decompressDCtx(ZSTD_DCtx* ctx, void* dst, size_t maxDstSize, const void* src, size_t srcSize); /** ZSTD_decompress_usingDict * Same as ZSTD_decompressDCtx, using a Dictionary content as prefix * Note : dict can be NULL, in which case, it's equivalent to ZSTD_decompressDCtx() */ -size_t ZSTD_decompress_usingDict(ZSTD_DCtx* ctx, - void* dst, size_t maxDstSize, - const void* src, size_t srcSize, - const void* dict, size_t dictSize); +ZSTDLIB_API size_t ZSTD_decompress_usingDict(ZSTD_DCtx* ctx, + void* dst, size_t maxDstSize, + const void* src, size_t srcSize, + const void* dict, size_t dictSize); /* **************************************