Differences From 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...]
To Artifact [062d94ddbb]:
- File src/OFINIFileSettings.m — part of check-in [4bbac7ab17] at 2020-11-01 11:35:03 on branch trunk — OFString: Add -[substring{From,To}Index:] (user: js, size: 6460) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
63 64 65 66 67 68 69 | if (pos == OF_NOT_FOUND) { *category = @""; *key = path; return; } | | | < | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | if (pos == OF_NOT_FOUND) { *category = @""; *key = path; return; } *category = [path substringToIndex: pos]; *key = [path substringFromIndex: pos + 1]; } - (void)setString: (OFString *)string forPath: (OFString *)path { void *pool = objc_autoreleasePoolPush(); OFString *category, *key; |
︙ | ︙ |