Differences From Artifact [0163c4920f]:
- File src/OFBlock.m — part of check-in [d07c56a8bb] at 2017-04-02 01:06:35 on branch trunk — Add OF_CONSTRUCTOR() / OF_DESTRUCTOR() (user: js, size: 12488) [annotate] [blame] [check-ins using]
To Artifact [067d5d407d]:
- File
src/OFBlock.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: 12431) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
113 114 115 116 117 118 119 | } }; static struct objc_abi_module module = { 8, sizeof(module), NULL, (struct objc_abi_symtab*)&symtab }; | < < | 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | } }; static struct objc_abi_module module = { 8, sizeof(module), NULL, (struct objc_abi_symtab*)&symtab }; OF_CONSTRUCTOR() { __objc_exec_class(&module); } /* End of ObjC module */ #elif defined(OF_APPLE_RUNTIME) extern Class objc_initializeClassPair(Class, const char*, Class, Class); |
︙ | ︙ |