}
}
-void * CreateSharedLibraryOnStartup( void )
-{
- NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
-
- /* This library is not loaded for no reason, so let's create
- * a VLCLibrary instance. */
- [VLCLibrary sharedLibrary];
-
- [pool release];
-
- return NULL;
-}
-
-void * DestroySharedLibraryAtExit( void )
-{
- /* Release the global object that may have been alloc-ed
- * in -[VLCLibrary init] */
- [sharedLibrary release];
- sharedLibrary = nil;
-
- return NULL;
-}
-
@implementation VLCLibrary
+ (VLCLibrary *)sharedLibrary
{