vlc_mutex_init(&p_new->instance_lock);
vlc_mutex_init(&p_new->event_callback_lock);
- libvlc_event_init(p_new, p_e);
-
return p_new;
}
vlc_mutex_lock( lock );
refs = --p_instance->ref_count;
- if( refs == 0 )
- libvlc_event_fini( p_instance );
vlc_mutex_unlock( lock );
if( refs == 0 )
* Internal libvlc functions
*/
-/**************************************************************************
- * libvlc_event_init (internal) :
- *
- * initialization function.
- **************************************************************************/
-void libvlc_event_init( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
-{
- VLC_UNUSED(p_instance);
- VLC_UNUSED(p_e);
- /* Will certainly be used to install libvlc_instance event */
-}
-
-/**************************************************************************
- * libvlc_event_fini (internal) :
- *
- * finalization function.
- **************************************************************************/
-void libvlc_event_fini( libvlc_instance_t *p_instance )
-{
- VLC_UNUSED(p_instance);
-}
-
/**************************************************************************
* libvlc_event_manager_init (internal) :
*
VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char *, bool,
bool, int, const char *const * ) );
-void libvlc_event_init( libvlc_instance_t *, libvlc_exception_t * );
-void libvlc_event_fini( libvlc_instance_t * );
-
-
/***************************************************************************
* Opaque structures for libvlc API
***************************************************************************/