// Lock gets a lock on the list items. func (this *MediaList) Lock() error { if this.ptr == nil { return &VLCError{"MediaList is nil"} } C.libvlc_media_list_lock(this.ptr) return checkError() }
// Lock gets a lock on the list items. func (this *MediaList) Lock() error { if this.ptr == nil { return os.EINVAL } C.libvlc_media_list_lock(this.ptr) return checkError() }