From: Steve Fan <29133953+stevefan1999-personal@users.noreply.github.com> Date: Sat, 18 Apr 2020 10:14:21 +0000 (+0800) Subject: Update monocypher.h X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=c907a788c05ec5a28d24a6f477de891a827f90aa;p=Monocypher.git Update monocypher.h --- diff --git a/src/monocypher.h b/src/monocypher.h index e014f8d..93e9950 100644 --- a/src/monocypher.h +++ b/src/monocypher.h @@ -57,6 +57,10 @@ #include #include +#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