Add cplusplus directive to musig include

This commit is contained in:
Jonas Nick authored and Tim Ruffing committed 2020-07-24 14:59:36 +02:00
1 parent 9957307c3f
commit bedff79848
1 file changed
+8
+8
View File
@@ -1,6 +1,10 @@
#ifndef SECP256K1_MUSIG_H
#define SECP256K1_MUSIG_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
/** This module implements a Schnorr-based multi-signature scheme called MuSig
@@ -426,4 +430,8 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_musig_extract_secret_ad
int nonce_is_negated
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4);
#ifdef __cplusplus
}
#endif
#endif