ObjFW  Check-in [cbdd00f28d]

Overview
Comment:Retain blocks instead of copying them.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: cbdd00f28da187ba4a69da7d728996ba02b19bd8980a52dc3e0237565595276b
User & Date: js on 2011-07-06 22:32:47
Other Links: manifest | tags
Context
2011-07-06
22:39
Documentation fixes. check-in: 16ce0fea69 user: js tags: trunk
22:32
Retain blocks instead of copying them. check-in: cbdd00f28d user: js tags: trunk
17:44
Add +[new] to OFObject for compatibility and convenience. check-in: 0319e89d4b user: js tags: trunk
Changes

Modified src/OFXMLParser.h from [6fc60c0e72] to [39864cd6ea].

186
187
188
189
190
191
192
193

194
195
196
197
198
199
200






201
202
203
204
205
206
207
186
187
188
189
190
191
192

193
194






195
196
197
198
199
200
201
202
203
204
205
206
207







-
+

-
-
-
-
-
-
+
+
+
+
+
+







	BOOL finishedParsing;
	of_string_encoding_t encoding;
}

#ifdef OF_HAVE_PROPERTIES
@property (retain) id <OFXMLParserDelegate> delegate;
# ifdef OF_HAVE_BLOCKS
@property (copy) of_xml_parser_processing_instructions_block_t
@property (retain) of_xml_parser_processing_instructions_block_t
    processingInstructionsHandler;
@property (copy) of_xml_parser_element_start_block_t elementStartHandler;
@property (copy) of_xml_parser_element_end_block_t elementEndHandler;
@property (copy) of_xml_parser_string_block_t charactersHandler;
@property (copy) of_xml_parser_string_block_t CDATAHandler;
@property (copy) of_xml_parser_string_block_t commentHandler;
@property (copy) of_xml_parser_unknown_entity_block_t unknownEntityHandler;
@property (retain) of_xml_parser_element_start_block_t elementStartHandler;
@property (retain) of_xml_parser_element_end_block_t elementEndHandler;
@property (retain) of_xml_parser_string_block_t charactersHandler;
@property (retain) of_xml_parser_string_block_t CDATAHandler;
@property (retain) of_xml_parser_string_block_t commentHandler;
@property (retain) of_xml_parser_unknown_entity_block_t unknownEntityHandler;
# endif
#endif

/**
 * \return A new, autoreleased OFXMLParser
 */
+ parser;