]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Added missing ZSTDLIB_API for ZSTD_decompress_usingDict and ZSTD_decompressDCtx 99/head
authorChristophe Chevalier <chevalier@doxense.com>
Fri, 18 Dec 2015 10:20:37 +0000 (11:20 +0100)
committerChristophe Chevalier <chevalier@doxense.com>
Fri, 18 Dec 2015 10:20:37 +0000 (11:20 +0100)
lib/zstd_static.h

index f78d464c10191ca1edd7848002b6389e5172152d..542b03094ab07abca3bde32ea16f2a9c425502d6 100644 (file)
@@ -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);
 
 
 /* **************************************