From dba61da1bfb7e4d74c723f369d1c017df9707a14 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 8 Sep 2022 08:03:57 -0400 Subject: Create a special "destroyed" type rather than using null When a QPDF is destroyed, changing indirect objects to direct nulls makes them effectively disappear silently when they sneak into other places. Instead, we should treat this as an error. Adding a destroyed object type makes this possible. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 71f241d3..751b1aed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2022-09-08 Jay Berkenbilt + + * Add QPDFObjectHandle::isDestroyed() to test whether an indirect + object was from a QPDF that has been destroyed. + 2022-09-07 Jay Berkenbilt * Add QPDFObjectHandle::getQPDF(), which returns a reference, as -- cgit v1.2.3-54-g00ecf