Skip to content

Commit bedff79

Browse files
jonasnickreal-or-random
authored andcommitted
Add cplusplus directive to musig include
1 parent 9957307 commit bedff79

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

include/secp256k1_musig.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#ifndef SECP256K1_MUSIG_H
22
#define SECP256K1_MUSIG_H
33

4+
#ifdef __cplusplus
5+
extern "C" {
6+
#endif
7+
48
#include <stdint.h>
59

610
/** 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
426430
int nonce_is_negated
427431
) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3) SECP256K1_ARG_NONNULL(4);
428432

433+
#ifdef __cplusplus
434+
}
435+
#endif
436+
429437
#endif

0 commit comments

Comments
 (0)