Re: C functions
Re: C functions
- Subject: Re: C functions
- From: Jens Alfke <email@hidden>
- Date: Fri, 18 Oct 2013 06:50:48 -0700
On Oct 17, 2013, at 8:49 PM, Charles Srstka <email@hidden> wrote:
> You shouldn't rely on dlsym() working in production code. If the binary is stripped (as it is by default for release builds, I believe), it won't work.
You could work around that by exporting the symbol, e.g. by adding it to a “.exp” file.
And if the function comes from a library’s API, it’ll by definition be available.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden