[vlc-devel] commit: macosx/VLCKit: Load VLCLibrary when VLCKit is loaded. No longer need atexit( ... ) to unload library, use __attribute__(( destructor))__ instead. Also make sure we don' t autorelease the VLCLibrary (as the library' s destructo
Enrique Osuna
enrique.osuna at gmail.com
Wed Mar 5 00:05:29 CET 2008
Yes I supposed. I didn't try putting it into the private headers or
the source file itself.
On Tue, Mar 4, 2008 at 10:51 PM, Pierre d'Herbemont <pdherbemont at free.fr> wrote:
>
> On Mar 4, 2008, at 11:41 PM, git version control wrote:
>
> > --- a/projects/macosx/framework/Headers/Public/VLCLibrary.h
> > +++ b/projects/macosx/framework/Headers/Public/VLCLibrary.h
> > @@ -27,6 +27,10 @@
> > #import "VLCMediaList.h"
> > #import "VLCMedia.h"
> >
> > +
> > +extern void * CreateSharedLibraryOnStartup( void )
> > __attribute__((constructor));
> > +extern void * DestroySharedLibraryAtExit( void )
> > __attribute__((destructor));
> > +
>
> Do we really need to put that in the public headers? This could be
> moved to VLCLibrary.m, no?
>
> Pierre.
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list