]> git.sesse.net Git - vlc/blobdiff - include/vlc/libvlc_media_library.h
libvlc_event_detach: remove exception
[vlc] / include / vlc / libvlc_media_library.h
index d2192bc788e8bce7b33a2f1f05826b5e95d21676..5325d5d58a88b2dd7dd15bec7f567100e3b3c849 100644 (file)
 #ifndef VLC_LIBVLC_MEDIA_LIBRARY_H
 #define VLC_LIBVLC_MEDIA_LIBRARY_H 1
 
+# ifdef __cplusplus
+extern "C" {
+# endif
+
 /*****************************************************************************
  * Media Library
  *****************************************************************************/
 
 typedef struct libvlc_media_library_t libvlc_media_library_t;
 
+/**
+ * Create an new Media Library object
+ *
+ * \param p_libvlc_instance the libvlc instance
+ * \param p_e an initialized exception pointer
+ */
 VLC_PUBLIC_API libvlc_media_library_t *
     libvlc_media_library_new( libvlc_instance_t * p_inst,
                               libvlc_exception_t * p_e );
@@ -100,4 +110,8 @@ VLC_PUBLIC_API libvlc_media_list_t *
 
 /** @} */
 
+# ifdef __cplusplus
+}
+# endif
+
 #endif /* VLC_LIBVLC_MEDIA_LIBRARY_H */