Differences From Artifact [2ddf79d34d]:
- File
src/runtime/class.m
— part of check-in
[0f42b0eafd]
at
2018-01-21 22:16:23
on branch trunk
— Allow building the runtime as a .framework
This also renames ObjFW-RT to ObjFW_RT, as hyphens should not be in
framework names. (user: js, size: 19447) [annotate] [blame] [check-ins using]
To Artifact [16946c32d6]:
- File
src/runtime/class.m
— part of check-in
[8651ed04a0]
at
2018-04-08 23:39:23
on branch trunk
— runtime: Small fix for unregister_class()
Only restore superclass to the name of the superclass if the class has
actually been set up. (user: js, size: 19487) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
856 857 858 859 860 861 862 | } if (rcls->dtable != NULL && rcls->dtable != empty_dtable) objc_dtable_free(rcls->dtable); rcls->dtable = NULL; | | | 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 | } if (rcls->dtable != NULL && rcls->dtable != empty_dtable) objc_dtable_free(rcls->dtable); rcls->dtable = NULL; if ((rcls->info & OBJC_CLASS_INFO_SETUP) && rcls->superclass != Nil) cls->superclass = rcls->superclass->name; rcls->info &= ~OBJC_CLASS_INFO_SETUP; } void objc_unregister_class(Class cls) |
︙ | ︙ |