Differences From Artifact [da1329e0fa]:
- File src/OFXMLElementBuilder.m — part of check-in [3b97fc3cd9] at 2014-01-04 00:24:08 on branch trunk — Update copyright. (user: js, size: 4773) [annotate] [blame] [check-ins using]
To Artifact [119bcfbb79]:
- File
src/OFXMLElementBuilder.m
— part of check-in
[68d32a92c1]
at
2014-06-16 15:06:26
on branch trunk
— Make return type of -[OFArray objects] const
After all, this might (and does for OFArray_adjacent!) return an
internal representation that must not be changed, so changes should be
prevented at compile-time. (user: js, size: 4779) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
85 86 87 88 89 90 91 | - (void)parser: (OFXMLParser*)parser didStartElement: (OFString*)name prefix: (OFString*)prefix namespace: (OFString*)namespace attributes: (OFArray*)attributes { OFXMLElement *element; | | | 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - (void)parser: (OFXMLParser*)parser didStartElement: (OFString*)name prefix: (OFString*)prefix namespace: (OFString*)namespace attributes: (OFArray*)attributes { OFXMLElement *element; OFXMLAttribute *const *objects; size_t i, count; element = [OFXMLElement elementWithName: name namespace: namespace]; objects = [attributes objects]; count = [attributes count]; |
︙ | ︙ |