Add cplusplus directive to musig include

This commit is contained in:
Jonas Nick 2019-08-19 08:29:11 +00:00
parent e3a10f4677
commit 6ba31b8cee

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