Do not forget extern "C" wrappers.

This commit is contained in:
Frank Denis 2014-05-02 17:21:44 -07:00
parent ced8034901
commit b1c79463e0

View File

@ -4,6 +4,10 @@
#include "export.h"
#ifdef __cplusplus
extern "C" {
#endif
SODIUM_EXPORT
int sodium_runtime_get_cpu_features(void);
@ -16,4 +20,8 @@ int sodium_runtime_has_sse2(void);
SODIUM_EXPORT
int sodium_runtime_has_sse3(void);
#ifdef __cplusplus
}
#endif
#endif