On Wed, 27 Mar 2013 09:03:13 +0800, Maxthon Chan wrote:
Based on your research, I am seriously doubting what is actually
inside the CoreFoundation binary: is it possible that actually all
Objective-C code that involves toll-free bridging or like, or maybe
even more, that is documented as located in Foundation, is actually
located right in CoreFoundation, and Foundation binary is simply
(re)exporting symbols for them? Or did Apple made extensive use of
Objective-C runtime to dynamically bind Core Foundation functions to
Foundation classes? (which is highly unlikely.)
The situation is as follows:
- Many Foundation classes are not physically located in Foundation,
they are in the CoreFoundation binary instead.
This seems to apply to classes that have their CF counterparts
bridged. I haven't checked whether they use Mach-O re-exports.
- All CoreFoundation types (probably with the exception of CFTimeZone
only) are implemented in C.
Then they do bridging in both directions (F->CF and CF->F).
--
Luboš Doležel
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev