diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-10-12 19:21:36 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-10-12 19:21:36 +0100 |
commit | 2b93e381676bcd96e98a1141dccc7340af05f7c0 (patch) | |
tree | ed6dce4fabbb0e667d04b0e83be985e1144a8b76 /tools/apultra/src/shrink.h | |
parent | 57e87d6280e2e40b0d363bc08d9d15eeec52a113 (diff) | |
download | ubox-msx-lib-2b93e381676bcd96e98a1141dccc7340af05f7c0.tar.gz ubox-msx-lib-2b93e381676bcd96e98a1141dccc7340af05f7c0.zip |
Updated apultra to version 1.4.8
Diffstat (limited to 'tools/apultra/src/shrink.h')
-rw-r--r-- | tools/apultra/src/shrink.h | 6 |
1 files changed, 3 insertions, 3 deletions
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
}
|