Differences From Artifact [dcb3da3872]:
- File
src/instance.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 2123) [annotate] [blame] [check-ins using]
To Artifact [163d513c31]:
- File src/instance.m — part of check-in [c3ec9bb65a] at 2017-07-01 19:43:58 on branch trunk — instance.m: Allow nil for objc_destructInstance() (user: js, size: 2156) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
66 67 68 69 70 71 72 73 74 75 76 77 78 79 | } 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"); | > > > | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | } void * objc_destructInstance(id obj) { Class cls; void (*last)(id, SEL) = NULL; if (obj == nil) return NULL; #ifdef OF_OBJFW_RUNTIME objc_zero_weak_references(obj); #endif if (destructSel == NULL) destructSel = sel_registerName(".cxx_destruct"); |
︙ | ︙ |