Changeset e58c9db65d3556079214df5c81b75a82aba934ae

Show
Ignore:
Timestamp:
26/05/08 13:52:50 (6 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1211802770 +0200
git-parent:

[e111c9e23b96ddf7bc0b5464858e0168f93bdb4c]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1211802663 +0200
Message:

libvlc: Remove libvlc_event_(init|fini) as they were finally not needed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/control/core.c

    re726825 re58c9db  
    133133    vlc_mutex_init(&p_new->event_callback_lock); 
    134134 
    135     libvlc_event_init(p_new, p_e); 
    136  
    137135    return p_new; 
    138136} 
     
    157155    vlc_mutex_lock( lock ); 
    158156    refs = --p_instance->ref_count; 
    159     if( refs == 0 ) 
    160         libvlc_event_fini( p_instance ); 
    161157    vlc_mutex_unlock( lock ); 
    162158 
  • src/control/event.c

    re726825 re58c9db  
    5656 * Internal libvlc functions 
    5757 */ 
    58  
    59 /************************************************************************** 
    60  *       libvlc_event_init (internal) : 
    61  * 
    62  * initialization function. 
    63  **************************************************************************/ 
    64 void libvlc_event_init( libvlc_instance_t *p_instance, libvlc_exception_t *p_e ) 
    65 { 
    66     VLC_UNUSED(p_instance); 
    67     VLC_UNUSED(p_e); 
    68     /* Will certainly be used to install libvlc_instance event */ 
    69 } 
    70  
    71 /************************************************************************** 
    72  *       libvlc_event_fini (internal) : 
    73  * 
    74  * finalization function. 
    75  **************************************************************************/ 
    76 void libvlc_event_fini( libvlc_instance_t *p_instance ) 
    77 { 
    78     VLC_UNUSED(p_instance); 
    79 } 
    8058 
    8159/************************************************************************** 
  • src/control/libvlc_internal.h

    re111c9e re58c9db  
    5050VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char *, bool, 
    5151                            bool, int, const char *const * ) ); 
    52  
    53 void libvlc_event_init( libvlc_instance_t *, libvlc_exception_t * ); 
    54 void libvlc_event_fini( libvlc_instance_t * ); 
    55  
    5652 
    5753/***************************************************************************