From 52f1721ebb6473f0f927a0aec4851411746c33b6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 20 Nov 2021 10:35:50 -0500 Subject: Add reminder about trap_errors when updating the C API --- README-maintainer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README-maintainer') diff --git a/README-maintainer b/README-maintainer index bd2db35e..ef0c0000 100644 --- a/README-maintainer +++ b/README-maintainer @@ -192,7 +192,9 @@ RELEASE PREPARATION * If any interfaces were added or changed, check C API to see whether changes are appropriate there as well. If necessary, review the casting policy in the manual, and ensure that integer types are - properly handled with QIntC or the appropriate cast. + properly handled with QIntC or the appropriate cast. Remember to + ensure that any exceptions thrown by the library are caught and + converted. See `trap_errors` in qpdf-c.cc. * Update versions and shared library details -- cgit v1.2.3-54-g00ecf