Set proper function definitions.

This commit is contained in:
2021-09-22 01:02:07 +01:00
parent 1407e647a8
commit 34e44b99bc
12 changed files with 63 additions and 63 deletions

View File

@@ -25,7 +25,7 @@ typedef struct
#define CRC32_ISO_POLY 0xEDB88320
#define CRC32_ISO_SEED 0xFFFFFFFF
crc32_ctx* crc32_init();
int crc32_update(crc32_ctx* ctx, const uint8_t* data, uint32_t len);
int crc32_final(crc32_ctx* ctx, uint32_t* crc);
void crc32_free(crc32_ctx* ctx);
AARU_EXPORT crc32_ctx* AARU_CALL crc32_init();
AARU_EXPORT int AARU_CALL crc32_update(crc32_ctx* ctx, const uint8_t* data, uint32_t len);
AARU_EXPORT int AARU_CALL crc32_final(crc32_ctx* ctx, uint32_t* crc);
AARU_EXPORT void AARU_CALL crc32_free(crc32_ctx* ctx);