Differences From Artifact [73d4c6636f]:
- File
src/instance.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 2048) [annotate] [blame] [check-ins using] [more...]
To Artifact [9c022e876c]:
- File src/instance.m — part of check-in [03e6d6db98] at 2016-05-28 23:02:24 on branch trunk — Add support for zeroing weak references (user: js, size: 2113) [annotate] [blame] [check-ins using]
︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 79 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | + + + + | } void* objc_destructInstance(id obj) { Class cls; void (*last)(id, SEL) = NULL; #ifdef OF_OBJFW_RUNTIME objc_zero_weak_references(obj); #endif if (destructSel == NULL) destructSel = sel_registerName(".cxx_destruct"); for (cls = object_getClass(obj); cls != Nil; cls = class_getSuperclass(cls)) { void (*destruct)(id, SEL); |
︙ |