Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/include/secp256k1.h
#ifndef _SECP256K1_ | #ifndef SECP256K1_H | ||||
# define _SECP256K1_ | #define SECP256K1_H | ||||
# ifdef __cplusplus | #ifdef __cplusplus | ||||
extern "C" { | extern "C" { | ||||
# endif | #endif | ||||
#include <stddef.h> | #include <stddef.h> | ||||
/* These rules specify the order of arguments in API calls: | /* These rules specify the order of arguments in API calls: | ||||
* | * | ||||
* 1. Context pointers go first, followed by output arguments, combined | * 1. Context pointers go first, followed by output arguments, combined | ||||
* output/input arguments, and finally input-only arguments. | * output/input arguments, and finally input-only arguments. | ||||
* 2. Array lengths always immediately the follow the argument whose length | * 2. Array lengths always immediately the follow the argument whose length | ||||
▲ Show 20 Lines • Show All 587 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_combine( | SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_ec_pubkey_combine( | ||||
const secp256k1_context* ctx, | const secp256k1_context* ctx, | ||||
secp256k1_pubkey *out, | secp256k1_pubkey *out, | ||||
const secp256k1_pubkey * const * ins, | const secp256k1_pubkey * const * ins, | ||||
size_t n | size_t n | ||||
) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3); | ) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3); | ||||
# ifdef __cplusplus | #ifdef __cplusplus | ||||
} | } | ||||
# endif | #endif | ||||
#endif | #endif /* SECP256K1_H */ |