Differences From Artifact [172bc47cd5]:
- File src/runtime/static-instances.m — part of check-in [e8d6ca16e7] at 2013-03-08 23:00:50 on branch trunk — Take advantage of realloc(NULL, n) being defined. (user: js, size: 2392) [annotate] [blame] [check-ins using]
To Artifact [c67bef4763]:
- File src/runtime/static-instances.m — part of check-in [b4231b1df9] at 2013-12-19 20:15:36 on branch trunk — runtime: New API for internal unregister methods. (user: js, size: 2519) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
87 88 89 90 91 92 93 | OBJC_ERROR("Not enough memory for list of " "static instances!"); static_instances[static_instances_cnt++] = *si; } } } | > > > > > > > > | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | OBJC_ERROR("Not enough memory for list of " "static instances!"); static_instances[static_instances_cnt++] = *si; } } } void objc_forget_pending_static_instances() { free(static_instances); static_instances = NULL; static_instances_cnt = 0; } |