oops, remembered one more option:

To properly handle this, you've got a few options:

  * don't re-use classnames -- not what you want
* make sure shared functionality uses just C-functions, and mark them as non-exported (the build option "Symbols Hidden By Default" under "Code Generation" will do this for you) -- you can also mark as non-exported via __attributes__ ((visibility("hidden"))) or something, but that seems much more annoying, and doesn't always do what I've wanted.
  * for obj-c reuse, use a framework instead of in-code stuff.

* mark C-functions as static -- this works only if all references to that function live in the same source file ("compile-unit local scope" I think the term is), but it will also keep linking stuff from stepping on symbols defined elsewhere.


--
[ christopher wright ]
[email protected]
http://kineme.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to