Browse Source

#ifdef __cplusplus

pull/4/head
jl777 5 years ago
parent
commit
51ae3da5ec
  1. 4
      src/secp256k1/src/ecmult.h

4
src/secp256k1/src/ecmult.h

@ -78,6 +78,10 @@ typedef int (secp256k1_ecmult_multi_callback)(secp256k1_scalar *sc, secp256k1_ge
* 0 if there is not enough scratch space for a single point or
* callback returns 0
*/
#ifdef __cplusplus
extern "C"
#endif
int secp256k1_ecmult_multi_var(const secp256k1_ecmult_context *ctx, secp256k1_scratch *scratch, secp256k1_gej *r, const secp256k1_scalar *inp_g_sc, secp256k1_ecmult_multi_callback cb, void *cbdata, size_t n);
#endif /* SECP256K1_ECMULT_H */

Loading…
Cancel
Save