Differences From Artifact [67a687aa14]:
- File src/OFMethodSignature.m — part of check-in [da1fb6b21c] at 2020-11-05 02:27:35 on branch trunk — Further reduce usage of -[allocMemoryWithSize:] (user: js, size: 12531) [annotate] [blame] [check-ins using] [more...]
To Artifact [69e0a6b22a]:
- File
src/OFMethodSignature.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: 12530) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
593 594 595 596 597 598 599 | @throw [OFInvalidArgumentException exception]; length = strlen(types); if (length == 0) @throw [OFInvalidFormatException exception]; | | | 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 | @throw [OFInvalidArgumentException exception]; length = strlen(types); if (length == 0) @throw [OFInvalidFormatException exception]; _types = of_alloc(length + 1, 1); memcpy(_types, types, length); _typesPointers = [[OFMutableData alloc] initWithItemSize: sizeof(char *)]; _offsets = [[OFMutableData alloc] initWithItemSize: sizeof(size_t)]; |
︙ | ︙ |