Fix typo in secp256k1_preallocated.h

This commit is contained in:
Jan Xie 2019-07-18 08:35:42 +08:00 committed by GitHub
parent fa33017135
commit b1e68cb8e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,12 @@ extern "C" {
* *
* Context objects created by functions in this module can be used like contexts * Context objects created by functions in this module can be used like contexts
* objects created by functions in secp256k1.h, i.e., they can be passed to any * objects created by functions in secp256k1.h, i.e., they can be passed to any
* API function that excepts a context object (see secp256k1.h for details). The * API function that expects a context object (see secp256k1.h for details). The
* only exception is that context objects created by functions in this module * only exception is that context objects created by functions in this module
* must be destroyed using secp256k1_context_preallocated_destroy (in this * must be destroyed using secp256k1_context_preallocated_destroy (in this
* module) instead of secp256k1_context_destroy (in secp256k1.h). * module) instead of secp256k1_context_destroy (in secp256k1.h).
* *
* It is guaranteed that functions in by this module will not call malloc or its * It is guaranteed that functions in this module will not call malloc or its
* friends realloc, calloc, and free. * friends realloc, calloc, and free.
*/ */