We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7236c commit 3e4b1e7Copy full SHA for 3e4b1e7
src/ffi.rs
@@ -137,10 +137,16 @@ extern "C" {
137
// Contexts
138
pub fn secp256k1_context_create(flags: c_uint) -> *mut Context;
139
140
+ pub fn secp256k1_context_preallocated_size(flags: c_uint) -> usize;
141
+
142
+ pub fn secp256k1_context_preallocated_create(prealloc: *mut c_void, flags: c_uint) -> *mut Context;
143
144
pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context;
145
146
pub fn secp256k1_context_destroy(cx: *mut Context);
147
148
+ pub fn secp256k1_context_preallocated_destroy(cx: *mut Context);
149
150
pub fn secp256k1_context_randomize(cx: *mut Context,
151
seed32: *const c_uchar)
152
-> c_int;
0 commit comments