aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-12-17 21:30:47 +0100
committerJay Berkenbilt <ejb@ql.org>2021-12-17 21:59:47 +0100
commitddbe59179e64c45a375d6886f892059b49fd81b2 (patch)
tree322d04aa3220ca00e4dafb6b8d5498a494bc68c3 /ChangeLog
parent59a64115a6468ec64bf3ba41c772e50fa9e5ee95 (diff)
downloadqpdf-ddbe59179e64c45a375d6886f892059b49fd81b2.tar.zst
C API: simplify new error handling and improve documentation
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dc49e65..5f02ba43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2021-12-17 Jay Berkenbilt <ejb@ql.org>
+ * C API: simplify error handling for uncaught errors (never in a
+ released version) and clarify documentation in qpdf-c.h around
+ error handling. See qpdf-c.h for details, including how to check
+ for errors and the new function qpdf_silence_errors.
+
* C API: expose getTypeCode and getTypeName from QPDFObjectHandle.
Fixes #597.
@@ -40,10 +45,7 @@
interfaces. Clarify documentation regarding object accessors and
how type errors and warnings are handled. Many cases that used to
crash code that used the C API can now be trapped and will be
- written stderr if not trapped. The new method
- qpdf_register_oh_error_handler can be used to specifically handle
- errors that occur when accessing object handles. See qpdf-c.h for
- details.
+ written stderr if not trapped. See qpdf-c.h for details.
* C API: Add qpdf_oh_new_uninitialized to explicitly create
uninitialized object handles.