Function breez_sdk_core::bitcoin::util::key::secp256k1::ffi::rustsecp256k1_v0_6_1_context_create
pub unsafe extern "C" fn rustsecp256k1_v0_6_1_context_create(
flags: u32,
) -> *mut Context
Expand description
A reimplementation of the C function secp256k1_context_create
in rust.
This function allocates memory, the pointer should be deallocated using
secp256k1_context_destroy
. Failure to do so will result in a memory leak.
Input flags
control which parts of the context to initialize.
ยงReturns
The newly created secp256k1 raw context.