[vlc-commits] Unexport ml_Create() and ml_Destroy()
Rémi Denis-Courmont
git at videolan.org
Tue Aug 21 20:32:26 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 21 21:17:31 2012 +0300| [1c4f1394e060cbecb15378201cc953a07ad94b23] | committer: Rémi Denis-Courmont
Unexport ml_Create() and ml_Destroy()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c4f1394e060cbecb15378201cc953a07ad94b23
---
include/vlc_media_library.h | 4 ++--
src/libvlccore.sym | 2 --
src/missing.c | 13 -------------
3 files changed, 2 insertions(+), 17 deletions(-)
diff --git a/include/vlc_media_library.h b/include/vlc_media_library.h
index fee0af9..e183529 100644
--- a/include/vlc_media_library.h
+++ b/include/vlc_media_library.h
@@ -406,13 +406,13 @@ VLC_API media_library_t* ml_Get( vlc_object_t* p_this );
* @param psz_name Name for the module
* @return The ML object.
*/
-VLC_API media_library_t* ml_Create( vlc_object_t *p_this, char* psz_name );
+media_library_t* ml_Create( vlc_object_t *p_this, char* psz_name );
/**
* @brief Destructor for the Media library singleton
* @param p_this Parent the ML object is attached to
*/
-VLC_API void ml_Destroy( vlc_object_t* p_this );
+void ml_Destroy( vlc_object_t* p_this );
/**
* @brief Control the Media Library
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 7c193b0..e3b4519 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -226,8 +226,6 @@ vlc_UrlClean
vlc_path2uri
make_path
mdate
-ml_Create
-ml_Destroy
ml_Get
media_New
ml_OpConnectChilds
diff --git a/src/missing.c b/src/missing.c
index d58668e..2bd3dd1 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -379,19 +379,6 @@ media_library_t* ml_Get ( vlc_object_t* p_this )
return NULL;
}
-media_library_t* ml_Create ( vlc_object_t *p_this, char* psz_name )
-{
- VLC_UNUSED( p_this );
- VLC_UNUSED( psz_name );
- return NULL;
-}
-
-void ml_Destroy( vlc_object_t * p_this )
-{
- VLC_UNUSED( p_this );
- assert( 0 );
-}
-
ml_media_t* media_New( media_library_t* p_ml, int id, ml_select_e select, bool reload )
{
VLC_UNUSED( p_ml );
More information about the vlc-commits
mailing list