/// Create an empty media list.
Create an empty media list.
Create an empty media list .
pub fn new(instance: &Instance) -> Option<MediaList> {
        unsafe{
            let p = sys::libvlc_media_list_new(instance.ptr);
            if p.is_null() { None }else{ Some(MediaList{ptr: p}) }
        }
    }
pub fn new ( instance : & Instance ) -> Option < MediaList > { unsafe { let p = sys :: libvlc_media_list_new ( instance . ptr ) ; if p . is_null ( ) { None } else { Some ( MediaList { ptr : p } ) } } }
Create an empty media list.
Create an empty media list .
instance
&Instance