]> git.codecow.com Git - Monocypher.git/commitdiff
Update monocypher.h
authorSteve Fan <29133953+stevefan1999-personal@users.noreply.github.com>
Sat, 18 Apr 2020 10:14:21 +0000 (18:14 +0800)
committerGitHub <noreply@github.com>
Sat, 18 Apr 2020 10:14:21 +0000 (18:14 +0800)
src/monocypher.h

index e014f8d94885ab8b45ab5a16f341f587ae983e0d..93e995085e7e878d40b7c2c941206eaacad2dcad 100644 (file)
 #include <stddef.h>
 #include <stdint.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 ////////////////////////
 /// Type definitions ///
 ////////////////////////
@@ -351,5 +355,8 @@ void crypto_x25519_inverse(uint8_t       blind_salt [32],
                            const uint8_t private_key[32],
                            const uint8_t curve_point[32]);
 
-
+#ifdef __cplusplus
+}
+#endif
+    
 #endif // MONOCYPHER_H