Differences From Artifact [56c8216488]:
- File
src/runtime/init.m
— part of check-in
[4e40a57efa]
at
2017-04-02 15:30:03
on branch trunk
— Make __objc_exec_class() take a void*
This is necessary for ObjC++ with GCC, as otherwise, this generates an
error. Since the objc_abi_module struct is private anyway, there is not
much reason to have the argument of that type. (user: js, size: 1227) [annotate] [blame] [check-ins using] [more...]
To Artifact [631c262625]:
- File
src/runtime/init.m
— part of check-in
[79011c5f56]
at
2017-06-07 21:38:21
on branch trunk
— runtime: Move all globals into a single struct
This is required to create a .library on MorphOS. (user: js, size: 1388) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * file. */ #include "config.h" #import "runtime.h" #import "runtime-private.h" void __objc_exec_class(void *module_) { struct objc_abi_module *module = module_; objc_global_mutex_lock(); | > > > > > > > > > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | * file. */ #include "config.h" #import "runtime.h" #import "runtime-private.h" #import "globals.h" struct objc_globals objc_globals = { #ifdef OF_HAVE_THREADS .global_once_control = OF_ONCE_INIT, #endif .lookups_till_fast_path = 128 }; void __objc_exec_class(void *module_) { struct objc_abi_module *module = module_; objc_global_mutex_lock(); |
︙ | ︙ |