Skip to content

Commit 895f53d

Browse files
docs: Clarify that callback can be called more than once
1 parent d2dcf52 commit 895f53d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/secp256k1.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,9 @@ SECP256K1_API void secp256k1_context_destroy(
340340
*
341341
* On the other hand, during debug stage, one would want to be informed about
342342
* such mistakes, and the default (crashing) may be inadvisable.
343-
* When this callback is triggered, the API function called is guaranteed not
344-
* to cause a crash, though its return value and output arguments are
345-
* undefined.
343+
* Should this callback return instead of crashing, the return value and output
344+
* arguments of the API function call are undefined. Moreover, the same API
345+
* call may trigger the callback again in this case.
346346
*
347347
* When this function has not been called (or called with fn==NULL), then the
348348
* default handler will be used. The library provides a default handler which

0 commit comments

Comments
 (0)