Skip to content

Commit 8cb29db

Browse files
author
Git for Windows Build Agent
committed
Update 1 package
mingw-w64-i686-zstd (1.5.6-2 -> 1.5.7-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent 36f5c4f commit 8cb29db

File tree

29 files changed

+448
-280
lines changed

29 files changed

+448
-280
lines changed

mingw32/bin/libzstd.dll

62.4 KB
Binary file not shown.

mingw32/bin/pzstd.exe

5.56 KB
Binary file not shown.

mingw32/bin/zstd.exe

9.02 KB
Binary file not shown.

mingw32/include/zdict.h

+15-8
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
* You may select, at your option, one of the above-listed licenses.
99
*/
1010

11-
#if defined (__cplusplus)
12-
extern "C" {
13-
#endif
14-
1511
#ifndef ZSTD_ZDICT_H
1612
#define ZSTD_ZDICT_H
1713

14+
1815
/*====== Dependencies ======*/
1916
#include <stddef.h> /* size_t */
2017

18+
#if defined (__cplusplus)
19+
extern "C" {
20+
#endif
2121

2222
/* ===== ZDICTLIB_API : control library symbols visibility ===== */
2323
#ifndef ZDICTLIB_VISIBLE
@@ -248,7 +248,7 @@ typedef struct {
248248
* is presumed that the most profitable content is at the end of the dictionary,
249249
* since that is the cheapest to reference.
250250
*
251-
* `maxDictSize` must be >= max(dictContentSize, ZSTD_DICTSIZE_MIN).
251+
* `maxDictSize` must be >= max(dictContentSize, ZDICT_DICTSIZE_MIN).
252252
*
253253
* @return: size of dictionary stored into `dstDictBuffer` (<= `maxDictSize`),
254254
* or an error code, which can be tested by ZDICT_isError().
@@ -271,11 +271,19 @@ ZDICTLIB_API size_t ZDICT_getDictHeaderSize(const void* dictBuffer, size_t dictS
271271
ZDICTLIB_API unsigned ZDICT_isError(size_t errorCode);
272272
ZDICTLIB_API const char* ZDICT_getErrorName(size_t errorCode);
273273

274+
#if defined (__cplusplus)
275+
}
276+
#endif
277+
274278
#endif /* ZSTD_ZDICT_H */
275279

276280
#if defined(ZDICT_STATIC_LINKING_ONLY) && !defined(ZSTD_ZDICT_H_STATIC)
277281
#define ZSTD_ZDICT_H_STATIC
278282

283+
#if defined (__cplusplus)
284+
extern "C" {
285+
#endif
286+
279287
/* This can be overridden externally to hide static symbols. */
280288
#ifndef ZDICTLIB_STATIC_API
281289
# if defined(ZSTD_DLL_EXPORT) && (ZSTD_DLL_EXPORT==1)
@@ -466,9 +474,8 @@ ZDICTLIB_STATIC_API
466474
size_t ZDICT_addEntropyTablesFromBuffer(void* dictBuffer, size_t dictContentSize, size_t dictBufferCapacity,
467475
const void* samplesBuffer, const size_t* samplesSizes, unsigned nbSamples);
468476

469-
470-
#endif /* ZSTD_ZDICT_H_STATIC */
471-
472477
#if defined (__cplusplus)
473478
}
474479
#endif
480+
481+
#endif /* ZSTD_ZDICT_H_STATIC */

mingw32/include/zstd.h

+241-132
Large diffs are not rendered by default.

mingw32/include/zstd_errors.h

+1-8
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
extern "C" {
1616
#endif
1717

18-
/*===== dependency =====*/
19-
#include <stddef.h> /* size_t */
20-
21-
2218
/* ===== ZSTDERRORLIB_API : control library symbols visibility ===== */
2319
#ifndef ZSTDERRORLIB_VISIBLE
2420
/* Backwards compatibility with old macro name */
@@ -80,6 +76,7 @@ typedef enum {
8076
ZSTD_error_tableLog_tooLarge = 44,
8177
ZSTD_error_maxSymbolValue_tooLarge = 46,
8278
ZSTD_error_maxSymbolValue_tooSmall = 48,
79+
ZSTD_error_cannotProduce_uncompressedBlock = 49,
8380
ZSTD_error_stabilityCondition_notRespected = 50,
8481
ZSTD_error_stage_wrong = 60,
8582
ZSTD_error_init_missing = 62,
@@ -100,10 +97,6 @@ typedef enum {
10097
ZSTD_error_maxCode = 120 /* never EVER use this value directly, it can change in future versions! Use ZSTD_isError() instead */
10198
} ZSTD_ErrorCode;
10299

103-
/*! ZSTD_getErrorCode() :
104-
convert a `size_t` function result into a `ZSTD_ErrorCode` enum type,
105-
which can be used to compare with enum list published above */
106-
ZSTDERRORLIB_API ZSTD_ErrorCode ZSTD_getErrorCode(size_t functionResult);
107100
ZSTDERRORLIB_API const char* ZSTD_getErrorString(ZSTD_ErrorCode code); /**< Same as ZSTD_getErrorName, but using a `ZSTD_ErrorCode` enum argument */
108101

109102

mingw32/lib/cmake/zstd/zstdConfigVersion.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
# The variable CVF_VERSION must be set before calling configure_file().
1010

1111

12-
set(PACKAGE_VERSION "1.5.6")
12+
set(PACKAGE_VERSION "1.5.7")
1313

1414
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
1515
set(PACKAGE_VERSION_COMPATIBLE FALSE)
1616
else()
1717

18-
if("1.5.6" MATCHES "^([0-9]+)\\.")
18+
if("1.5.7" MATCHES "^([0-9]+)\\.")
1919
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
2020
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
2121
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
2222
endif()
2323
else()
24-
set(CVF_VERSION_MAJOR "1.5.6")
24+
set(CVF_VERSION_MAJOR "1.5.7")
2525
endif()
2626

2727
if(PACKAGE_FIND_VERSION_RANGE)

mingw32/lib/cmake/zstd/zstdTargets-release.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ list(APPEND _cmake_import_check_files_for_zstd::libzstd_shared "${_IMPORT_PREFIX
1818
# Import target "zstd::libzstd_static" for configuration "Release"
1919
set_property(TARGET zstd::libzstd_static APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
2020
set_target_properties(zstd::libzstd_static PROPERTIES
21-
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "ASM;C"
21+
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C"
2222
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libzstd.a"
2323
)
2424

mingw32/lib/cmake/zstd/zstdTargets.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Generated by CMake
22

33
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4-
message(FATAL_ERROR "CMake >= 2.8.0 required")
4+
message(FATAL_ERROR "CMake >= 3.0.0 required")
55
endif()
66
if(CMAKE_VERSION VERSION_LESS "3.0.0")
77
message(FATAL_ERROR "CMake >= 3.0.0 required")
88
endif()
99
cmake_policy(PUSH)
10-
cmake_policy(VERSION 3.0.0...3.27)
10+
cmake_policy(VERSION 3.0.0...3.29)
1111
#----------------------------------------------------------------
1212
# Generated CMake target import file.
1313
#----------------------------------------------------------------

mingw32/lib/libzstd.a

64 KB
Binary file not shown.

mingw32/lib/libzstd.dll.a

1.78 KB
Binary file not shown.

mingw32/lib/pkgconfig/libzstd.pc

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ libdir=${exec_prefix}/lib
1010
Name: zstd
1111
Description: fast lossless compression algorithm library
1212
URL: https://facebook.github.io/zstd/
13-
Version: 1.5.6
14-
Libs: -L${libdir} -lzstd
13+
Version: 1.5.7
14+
Libs: -L${libdir} -lzstd
1515
Libs.private:
16-
Cflags: -I${includedir}
16+
Cflags: -I${includedir}

0 commit comments

Comments
 (0)