Changeset e58c9db65d3556079214df5c81b75a82aba934ae
- 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
| re726825 |
re58c9db |
|
| 133 | 133 | vlc_mutex_init(&p_new->event_callback_lock); |
|---|
| 134 | 134 | |
|---|
| 135 | | libvlc_event_init(p_new, p_e); |
|---|
| 136 | | |
|---|
| 137 | 135 | return p_new; |
|---|
| 138 | 136 | } |
|---|
| … | … | |
| 157 | 155 | vlc_mutex_lock( lock ); |
|---|
| 158 | 156 | refs = --p_instance->ref_count; |
|---|
| 159 | | if( refs == 0 ) |
|---|
| 160 | | libvlc_event_fini( p_instance ); |
|---|
| 161 | 157 | vlc_mutex_unlock( lock ); |
|---|
| 162 | 158 | |
|---|
| re726825 |
re58c9db |
|
| 56 | 56 | * Internal libvlc functions |
|---|
| 57 | 57 | */ |
|---|
| 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 | | } |
|---|
| 80 | 58 | |
|---|
| 81 | 59 | /************************************************************************** |
|---|
| re111c9e |
re58c9db |
|
| 50 | 50 | VLC_EXPORT (int, libvlc_InternalAddIntf, ( libvlc_int_t *, const char *, bool, |
|---|
| 51 | 51 | 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 | | |
|---|
| 56 | 52 | |
|---|
| 57 | 53 | /*************************************************************************** |
|---|