Commit b160f7f4 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: event_manager_init -> event_manager_new

parent 7ef8f73c
...@@ -61,7 +61,7 @@ void libvlc_event_fini( libvlc_instance_t *p_instance, libvlc_exception_t *p_e ) ...@@ -61,7 +61,7 @@ void libvlc_event_fini( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
* Init an object's event manager. * Init an object's event manager.
**************************************************************************/ **************************************************************************/
libvlc_event_manager_t * libvlc_event_manager_t *
libvlc_event_manager_init( void * p_obj, libvlc_instance_t * p_libvlc_inst, libvlc_event_manager_new( void * p_obj, libvlc_instance_t * p_libvlc_inst,
libvlc_exception_t *p_e ) libvlc_exception_t *p_e )
{ {
libvlc_event_manager_t * p_em; libvlc_event_manager_t * p_em;
...@@ -221,7 +221,7 @@ void libvlc_event_detach( libvlc_event_manager_t *p_event_manager, ...@@ -221,7 +221,7 @@ void libvlc_event_detach( libvlc_event_manager_t *p_event_manager,
FOREACH_END() FOREACH_END()
} }
FOREACH_END() FOREACH_END()
libvlc_exception_raise( p_e, libvlc_exception_raise( p_e,
"This object event manager doesn't know about '%i,%p,%p' event observer", "This object event manager doesn't know about '%i,%p,%p' event observer",
event_type, pf_callback, p_user_data ); event_type, pf_callback, p_user_data );
......
...@@ -167,7 +167,7 @@ VLC_EXPORT (void, libvlc_event_init, ( libvlc_instance_t *p_instance, libvlc_exc ...@@ -167,7 +167,7 @@ VLC_EXPORT (void, libvlc_event_init, ( libvlc_instance_t *p_instance, libvlc_exc
VLC_EXPORT (void, libvlc_event_fini, ( libvlc_instance_t *p_instance, libvlc_exception_t *p_e ) ); VLC_EXPORT (void, libvlc_event_fini, ( libvlc_instance_t *p_instance, libvlc_exception_t *p_e ) );
VLC_EXPORT (libvlc_event_manager_t *, libvlc_event_manager_init, ( void * p_obj, libvlc_instance_t * p_libvlc_inst, libvlc_exception_t *p_e ) ); VLC_EXPORT (libvlc_event_manager_t *, libvlc_event_manager_new, ( void * p_obj, libvlc_instance_t * p_libvlc_inst, libvlc_exception_t *p_e ) );
VLC_EXPORT (void, libvlc_event_manager_release, ( libvlc_event_manager_t * p_em ) ); VLC_EXPORT (void, libvlc_event_manager_release, ( libvlc_event_manager_t * p_em ) );
......
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