Commit b50d5f31 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lib: event: remove new/release functions

parent 7741bf6d
...@@ -99,35 +99,6 @@ void libvlc_event_manager_destroy(libvlc_event_manager_t *em) ...@@ -99,35 +99,6 @@ void libvlc_event_manager_destroy(libvlc_event_manager_t *em)
vlc_array_clear(&em->listeners); vlc_array_clear(&em->listeners);
} }
/**************************************************************************
* libvlc_event_manager_new (internal) :
*
* Init an object's event manager.
**************************************************************************/
libvlc_event_manager_t *
libvlc_event_manager_new( void * p_obj )
{
libvlc_event_manager_t * p_em;
p_em = malloc(sizeof( libvlc_event_manager_t ));
if( !p_em )
libvlc_printerr( "Not enough memory" );
else
libvlc_event_manager_init( p_em, p_obj );
return p_em;
}
/**************************************************************************
* libvlc_event_manager_release (internal) :
*
* Release an object's event manager.
**************************************************************************/
void libvlc_event_manager_release( libvlc_event_manager_t * p_em )
{
libvlc_event_manager_destroy( p_em );
free( p_em );
}
/************************************************************************** /**************************************************************************
* libvlc_event_send (internal) : * libvlc_event_send (internal) :
* *
......
...@@ -95,11 +95,6 @@ void libvlc_threads_deinit (void); ...@@ -95,11 +95,6 @@ void libvlc_threads_deinit (void);
void libvlc_event_manager_init(libvlc_event_manager_t *, void *); void libvlc_event_manager_init(libvlc_event_manager_t *, void *);
void libvlc_event_manager_destroy(libvlc_event_manager_t *); void libvlc_event_manager_destroy(libvlc_event_manager_t *);
libvlc_event_manager_t * libvlc_event_manager_new(void * p_obj);
void libvlc_event_manager_release(
libvlc_event_manager_t * p_em );
void libvlc_event_send( void libvlc_event_send(
libvlc_event_manager_t * p_em, libvlc_event_manager_t * p_em,
libvlc_event_t * p_event ); libvlc_event_t * p_event );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment