updated declaration of LZ4F_freeDecompressionContext

This commit is contained in:
Przemyslaw Skibinski 2016-11-07 14:14:42 +01:00
parent 7a98db266b
commit d61bb74f20
2 changed files with 2 additions and 2 deletions

View File

@ -52,6 +52,7 @@ build_script:
make -C tests fullbench CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" make -C tests fullbench CC=clang MOREFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion"
) )
) )
- if [%COMPILER%]==[gcc] (COPY tests\fullbench.exe programs\)
- if [%COMPILER%]==[visual] ( - if [%COMPILER%]==[visual] (
ECHO *** && ECHO *** &&
ECHO *** Building Visual Studio 2010 %PLATFORM%\%CONFIGURATION% && ECHO *** Building Visual Studio 2010 %PLATFORM%\%CONFIGURATION% &&
@ -84,6 +85,5 @@ test_script:
lz4 -i1b10 lz4.exe && lz4 -i1b10 lz4.exe &&
lz4 -i1b15 lz4.exe && lz4 -i1b15 lz4.exe &&
echo lz4 tested && echo lz4 tested &&
CD ..\tests &&
fullbench.exe -i1 fullbench.exe fullbench.exe -i1 fullbench.exe
) )

View File

@ -274,7 +274,7 @@ typedef struct {
* That is, it should be == 0 if decompression has been completed fully and correctly. * That is, it should be == 0 if decompression has been completed fully and correctly.
*/ */
LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version); LZ4FLIB_API LZ4F_errorCode_t LZ4F_createDecompressionContext(LZ4F_dctx** dctxPtr, unsigned version);
LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* dctx); LZ4FLIB_API LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* const dctx);
/*====== Decompression ======*/ /*====== Decompression ======*/