Namespace exported symbols.

This commit is contained in:
2021-10-30 21:58:10 +01:00
parent 49f0ea6c33
commit 37e8a8b4c7
9 changed files with 102 additions and 104 deletions

20
lzip.c
View File

@@ -23,10 +23,10 @@
#include "library.h"
#include "3rdparty/lzlib-1.12/lzlib.h"
AARU_EXPORT int32_t AARU_CALL lzip_decode_buffer(uint8_t* dst_buffer,
int32_t dst_size,
const uint8_t* src_buffer,
int32_t src_size)
AARU_EXPORT int32_t AARU_CALL AARU_lzip_decode_buffer(uint8_t* dst_buffer,
int32_t dst_size,
const uint8_t* src_buffer,
int32_t src_size)
{
int max_in_size;
void* ctx;
@@ -83,12 +83,12 @@ AARU_EXPORT int32_t AARU_CALL lzip_decode_buffer(uint8_t* dst_buffer,
return out_pos;
}
AARU_EXPORT int32_t AARU_CALL lzip_encode_buffer(uint8_t* dst_buffer,
int32_t dst_size,
const uint8_t* src_buffer,
int32_t src_size,
int32_t dictionary_size,
int32_t match_len_limit)
AARU_EXPORT int32_t AARU_CALL AARU_lzip_encode_buffer(uint8_t* dst_buffer,
int32_t dst_size,
const uint8_t* src_buffer,
int32_t src_size,
int32_t dictionary_size,
int32_t match_len_limit)
{
int max_in_size;
void* ctx;