#[no_mangle]
pub unsafe extern "C" fn rustsecp256k1_v0_6_1_context_create(
flags: c_uint
) -> *mut Context
Available on crate feature
alloc
and non-rust_secp_no_symbol_renaming
only.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.