Function flow_sdk::algorithms::secp256k1::secp256k1_sys::rustsecp256k1_v0_4_1_context_create[][src]

#[no_mangle]
pub unsafe extern "C" fn rustsecp256k1_v0_4_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 A failure to do so will result in a memory leak.

This will create a secp256k1 raw context.