Differences From Artifact [5387ac3c3a]:
- File
src/OFObject.m
— part of check-in
[1c78b3a4db]
at
2013-08-12 21:59:05
on branch trunk
— OFZIPArchive: Initial implementation.
Still a lot to do, see list of FIXMEs in the source. (user: js, size: 25719) [annotate] [blame] [check-ins using]
To Artifact [8e2d9bc735]:
- File src/OFObject.m — part of check-in [3780f1462e] at 2013-11-22 23:24:03 on branch trunk — runtime: Add support for non-fragile ivars. (user: js, size: 25719) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
215 216 217 218 219 220 221 | void **extra) { OFObject *instance; size_t instanceSize; instanceSize = class_getInstanceSize(class); | | | 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | void **extra) { OFObject *instance; size_t instanceSize; instanceSize = class_getInstanceSize(class); if OF_UNLIKELY (extraAlignment > 1) extraAlignment = ((instanceSize + extraAlignment - 1) & ~(extraAlignment - 1)) - extraAlignment; instance = malloc(PRE_IVARS_ALIGN + instanceSize + extraAlignment + extraSize); if OF_UNLIKELY (instance == nil) { |
︙ | ︙ |