raze-gles/source/thirdparty/include/crc32.h
Christoph Oelckers d0a49c3278 - moved 4 more.
2019-09-20 23:12:07 +02:00

25 lines
363 B
C

#ifndef crc32_h_
#define crc32_h_
#include "compat.h"
#ifdef __cplusplus
extern "C" {
#endif
#define POLY 0xEDB88320
#ifdef BITNESS64
extern uint32_t crc32table[8][256];
#else
extern uint32_t crc32table[4][256];
#endif
extern uint32_t Bcrc32(const void* data, int length, uint32_t crc);
extern void initcrc32table(void);
#ifdef __cplusplus
}
#endif
#endif