Differences From Artifact [a5bfbc9534]:
- File
src/OFXMLElementBuilder.h
— part of check-in
[496695d778]
at
2019-09-29 19:35:38
on branch trunk
— Either restrict subclassing or reserve ivar space
This allows ABI stability with the fragile ABI. (user: js, size: 4309) [annotate] [blame] [check-ins using] [more...]
To Artifact [9c972fb717]:
- File
src/OFXMLElementBuilder.h
— part of check-in
[b4614c3b1e]
at
2019-10-03 23:29:34
on branch trunk
— OFXMLElementBuilder: Allow subclassing
This is useful for slightly altering the behavior, e.g. rejecting
certain things. (user: js, size: 4304) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
100 101 102 103 104 105 106 | * @brief A class implementing the OFXMLParserDelegate protocol that can build * OFXMLElements from the document parsed by the OFXMLParser. * * It can also be used to build OFXMLElements from parts of the document by * first parsing stuff using the OFXMLParser with another delegate and then * setting the OFXMLElementBuilder as delegate for the parser. */ | < > | 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | * @brief A class implementing the OFXMLParserDelegate protocol that can build * OFXMLElements from the document parsed by the OFXMLParser. * * It can also be used to build OFXMLElements from parts of the document by * first parsing stuff using the OFXMLParser with another delegate and then * setting the OFXMLElementBuilder as delegate for the parser. */ @interface OFXMLElementBuilder: OFObject <OFXMLParserDelegate> { OFMutableArray OF_GENERIC(OFXMLElement *) *_stack; id <OFXMLElementBuilderDelegate> _Nullable _delegate; OF_RESERVE_IVARS(4) } /*! * @brief The delegate for the OFXMLElementBuilder. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) id <OFXMLElementBuilderDelegate> delegate; |
︙ | ︙ |