make crc32 tables accessible from plain C
This commit is contained in:
parent
151043cf9e
commit
2da452a14f
@ -37,9 +37,10 @@
|
|||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
// Declare the CRC tables
|
// Declare the CRC tables
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
extern word __crc16_table[];
|
extern word __crc16_table[];
|
||||||
extern dword __crc32_table[];
|
extern dword __crc32_table[];
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------
|
// ------------------------------------------------------------------
|
||||||
// Generate/update a CRC-16 or CRC-32 value
|
// Generate/update a CRC-16 or CRC-32 value
|
||||||
|
Reference in New Issue
Block a user