#[no_mangle]
pub unsafe extern "C" fn rustsecp256k1_v0_6_1_context_create(
flags: c_uint
) -> *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.