Differences From Artifact [8aa04f6052]:
- File src/OFMutableData.m — part of check-in [7aa23887d0] at 2020-11-07 10:38:49 on branch trunk — Make GCC happy again (user: js, size: 6656) [annotate] [blame] [check-ins using] [more...]
To Artifact [c52dab0d6d]:
- File
src/OFMutableData.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: 6655) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
90 91 92 93 94 95 96 | { self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; | | | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | { self = [super init]; @try { if (itemSize == 0) @throw [OFInvalidArgumentException exception]; _items = of_alloc(capacity, itemSize); _itemSize = itemSize; _capacity = capacity; _freeWhenDone = true; } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |