Re: Shared lib load/unload functions
Re: Shared lib load/unload functions
- Subject: Re: Shared lib load/unload functions
- From: Peter O'Gorman <email@hidden>
- Date: Fri, 21 Sep 2007 19:32:05 -0500
On Fri, 2007-09-21 at 20:59 +0100, Mark Thomas wrote:
> Hi,
> I recently had to add in my shared library, an initialize function, which
> there seems to be an option for within XCode, however there doesn't seem to
> be an unload/un-initialize function, which would be required to do the
> reverse of my initialize function.
>
> Is this possible, as I remember back in CFM day's these was possible ?
I'd use gcc's __attribute__(("constructor")) and
__attribute__(("destructor")) instead of -init.
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden