Differences From Artifact [ba0e2c91f2]:
- File src/instance.m — part of check-in [5882409fd0] at 2017-10-01 09:54:52 on branch trunk — Nullability fixes for ObjFW runtime (user: js, size: 2163) [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...]
︙ | ︙ | |||
53 54 55 56 57 58 59 | objc_constructInstance(Class cls, void *bytes) { id obj = (id)bytes; if (cls == Nil || bytes == NULL) return nil; | | | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | objc_constructInstance(Class cls, void *bytes) { id obj = (id)bytes; if (cls == Nil || bytes == NULL) return nil; object_setClass(obj, cls); if (!callConstructors(cls, obj)) return nil; return obj; } |
︙ | ︙ |