summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2019-10-04 01:29:34 +0200
committerJonathan Schleifer <js@heap.zone>2019-10-04 01:29:34 +0200
commit51c2efdb80088a2b063a42c7d31d799e6a410e5a (patch)
treee00ac57738bde1617740fdad1522c482881b1381
parent4b220e04d918c504ea33452ef001a0b8e1845be9 (diff)
OFXMLElementBuilder: Allow subclassing
This is useful for slightly altering the behavior, e.g. rejecting certain things.
-rw-r--r--src/OFXMLElementBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OFXMLElementBuilder.h b/src/OFXMLElementBuilder.h
index 4b23f117..ac0a3560 100644
--- a/src/OFXMLElementBuilder.h
+++ b/src/OFXMLElementBuilder.h
@@ -104,11 +104,11 @@ OF_ASSUME_NONNULL_BEGIN
* first parsing stuff using the OFXMLParser with another delegate and then
* setting the OFXMLElementBuilder as delegate for the parser.
*/
-OF_SUBCLASSING_RESTRICTED
@interface OFXMLElementBuilder: OFObject <OFXMLParserDelegate>
{
OFMutableArray OF_GENERIC(OFXMLElement *) *_stack;
id <OFXMLElementBuilderDelegate> _Nullable _delegate;
+ OF_RESERVE_IVARS(4)
}
/*!