Differences From Artifact [93ab00cf42]:
- File src/OFOptionsParser.m — part of check-in [da1fb6b21c] at 2020-11-05 02:27:35 on branch trunk — Further reduce usage of -[allocMemoryWithSize:] (user: js, size: 6394) [annotate] [blame] [check-ins using] [more...]
To Artifact [a5d08e3dd3]:
- File
src/OFOptionsParser.m
— part of check-in
[627511b032]
at
2020-11-14 12:23:55
on branch trunk
— Rename of_malloc and of_calloc
The new names should be more accurate. (user: js, size: 6393) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
82 83 84 85 86 87 88 | *iter->isSpecifiedPtr = false; if (iter->argumentPtr) *iter->argumentPtr = nil; count++; } | | | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | *iter->isSpecifiedPtr = false; if (iter->argumentPtr) *iter->argumentPtr = nil; count++; } _options = of_alloc(count + 1, sizeof(*_options)); _longOptions = [[OFMapTable alloc] initWithKeyFunctions: keyFunctions objectFunctions: objectFunctions]; for (iter = options, iter2 = _options; iter->shortOption != '\0' || iter->longOption != nil; iter++, iter2++) { |
︙ | ︙ |