Differences From Artifact [54953a495e]:
- File src/OFBytesValue.m — part of check-in [da1fb6b21c] at 2020-11-05 02:27:35 on branch trunk — Further reduce usage of -[allocMemoryWithSize:] (user: js, size: 1312) [annotate] [blame] [check-ins using] [more...]
To Artifact [bf70f130e6]:
- File
src/OFBytesValue.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: 1311) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
27 28 29 30 31 32 33 | objCType: (const char *)objCType { self = [super init]; @try { _size = of_sizeof_type_encoding(objCType); _objCType = objCType; | | | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | objCType: (const char *)objCType { self = [super init]; @try { _size = of_sizeof_type_encoding(objCType); _objCType = objCType; _bytes = of_alloc(1, _size); memcpy(_bytes, bytes, _size); } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |