Expose ability to deep-copy a context
This commit is contained in:
1 parent
3608c7f2f6
commit
d899b5b67c
7 files changed
+91
No files matched your search
@@ -59,6 +59,14 @@ secp256k1_context_t* secp256k1_context_create(
|
||||
int flags
|
||||
) SECP256K1_WARN_UNUSED_RESULT;
|
||||
|
||||
/** Copies a secp256k1 context object.
|
||||
* Returns: a newly created context object.
|
||||
* In: ctx: an existing context to copy
|
||||
*/
|
||||
secp256k1_context_t* secp256k1_context_clone(
|
||||
const secp256k1_context_t* ctx
|
||||
) SECP256K1_WARN_UNUSED_RESULT;
|
||||
|
||||
/** Destroy a secp256k1 context object.
|
||||
* The context pointer may not be used afterwards.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user