From 2b93e381676bcd96e98a1141dccc7340af05f7c0 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 12 Oct 2022 19:21:36 +0100 Subject: Updated apultra to version 1.4.8 --- tools/apultra/src/shrink.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/apultra/src/shrink.h') diff --git a/tools/apultra/src/shrink.h b/tools/apultra/src/shrink.h index 3be37e9..44feeb7 100644 --- a/tools/apultra/src/shrink.h +++ b/tools/apultra/src/shrink.h @@ -150,7 +150,7 @@ typedef struct _apultra_compressor { * * @return maximum compressed size */ -size_t apultra_get_max_compressed_size(size_t nInputSize); +size_t apultra_get_max_compressed_size(const size_t nInputSize); /** * Compress memory @@ -167,8 +167,8 @@ size_t apultra_get_max_compressed_size(size_t nInputSize); * * @return actual compressed size, or -1 for error */ -size_t apultra_compress(const unsigned char *pInputData, unsigned char *pOutBuffer, size_t nInputSize, size_t nMaxOutBufferSize, - const unsigned int nFlags, size_t nMaxWindowSize, size_t nDictionarySize, void(*progress)(long long nOriginalSize, long long nCompressedSize), apultra_stats *pStats); +size_t apultra_compress(const unsigned char *pInputData, unsigned char *pOutBuffer, const size_t nInputSize, const size_t nMaxOutBufferSize, + const unsigned int nFlags, const size_t nMaxWindowSize, const size_t nDictionarySize, void(*progress)(long long nOriginalSize, long long nCompressedSize), apultra_stats *pStats); #ifdef __cplusplus } -- cgit v1.2.3