Differences From Artifact [9b8cdb5bf4]:
- File
src/OFXMLParser.m
— part of check-in
[6b77a5dd8b]
at
2017-05-21 21:28:57
on branch trunk
— Prefix private methods with of_ instead of OF_
This matches Apple's style. (user: js, size: 24012) [annotate] [blame] [check-ins using]
To Artifact [b19418ed62]:
- File src/OFXMLParser.m — part of check-in [4ec0948b1b] at 2017-06-03 18:37:19 on branch trunk — Properly check for sys/types.h (user: js, size: 23898) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 | * file. */ #include "config.h" #include <string.h> | < < | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * file. */ #include "config.h" #include <string.h> #import "OFXMLParser.h" #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" #import "OFBigDataArray.h" #import "OFXMLAttribute.h" #import "OFStream.h" |
︙ | ︙ | |||
103 104 105 106 107 108 109 | { OFDictionary *const *objects = [namespaces objects]; size_t count = [namespaces count]; if (prefix == nil) prefix = @""; | | < < < | | 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | { OFDictionary *const *objects = [namespaces objects]; size_t count = [namespaces count]; if (prefix == nil) prefix = @""; while (count > 0) { OFString *tmp; if ((tmp = [objects[--count] objectForKey: prefix]) != nil) return tmp; } return nil; } static OF_INLINE void |
︙ | ︙ |