Tweaked qrcodegen.c to not be compilable in C++ mode (undoing commit 88cc1c05fd).

pull/39/merge
Project Nayuki 6 years ago
parent 30aed54c47
commit 0920922a32

@ -30,12 +30,7 @@
#ifndef QRCODEGEN_TEST
#define testable static // Keep functions private
#else
// Expose private functions
#ifndef __cplusplus
#define testable
#else // Because in C++, const variables are treated as implicitly 'static'
#define testable extern
#endif
#define testable // Expose private functions
#endif

Loading…
Cancel
Save