I never intend to do what Apple did in their exact way. That is illegal
even in PRC. My intention is to a) write test cases around documented
API that both GNUstep and Apple have and capture what Apple emit from
them and b) replicate this result in a reasonable way using GNUstep, not
caring if the implementation detail is the same. If I ended up doing it
the exact way, well lucky me… I have no idea how Apple did that unless
it is something open-sourced (and I guess I can link LGPL code against
APSL code, right?) and I have no intention to clone it in a full blown
way, just the surface behavior.
So before I say anything more, just giving an example, in my
implementation of toll-free bridging the "type ID" is useless, as
CoreFoundation objects are identified by their companion classes. Here
is a sneak peek of what my propose is.