Add C linkage guard for exported symbols
Juha Nikkanen
4 years ago
13 | 13 | // The FT240X has a 512 byte buffer. Must be multiple of 64 |
14 | 14 | // We also write this in one go to the Keccak sponge, which is at most 1600 bits |
15 | 15 | #define BUFLEN 512u |
16 | ||
17 | #ifdef __cplusplus | |
18 | extern "C" { | |
19 | #endif | |
16 | 20 | |
17 | 21 | #if !defined(_WIN32) |
18 | 22 | struct infnoise_context { |
86 | 90 | */ |
87 | 91 | uint32_t readData(struct infnoise_context *context, uint8_t *result, bool raw, uint32_t outputMultiplier); |
88 | 92 | |
93 | #ifdef __cplusplus | |
94 | } | |
89 | 95 | #endif |
96 | ||
97 | #endif |