Differences From Artifact [9d965e74da]:
- File src/OFINIFileSettings.m — part of check-in [b6cb3addd0] at 2020-06-28 15:03:23 on branch trunk — Use OF_DIRECT(_MEMBERS) where appropriate (user: js, size: 6508) [annotate] [blame] [check-ins using] [more...]
To Artifact [c8fa651c4c]:
- File
src/OFINIFileSettings.m
— part of check-in
[b6ee372b98]
at
2020-08-11 19:45:36
on branch trunk
— OFString: Rework number parsing API
This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). (user: js, size: 6513) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
84 85 86 87 88 89 90 | [[_INIFile categoryForName: category] setString: string forKey: key]; objc_autoreleasePoolPop(pool); } | | | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | [[_INIFile categoryForName: category] setString: string forKey: key]; objc_autoreleasePoolPop(pool); } - (void)setInteger: (long long)integer forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; [self of_getCategory: &category andKey: &key |
︙ | ︙ | |||
182 183 184 185 186 187 188 | defaultValue: defaultValue]; [ret retain]; objc_autoreleasePoolPop(pool); return [ret autorelease]; } | | | | | 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | defaultValue: defaultValue]; [ret retain]; objc_autoreleasePoolPop(pool); return [ret autorelease]; } - (long long)integerForPath: (OFString *)path defaultValue: (long long)defaultValue { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; long long ret; [self of_getCategory: &category andKey: &key forPath: path]; ret = [[_INIFile categoryForName: category] integerForKey: key |
︙ | ︙ |