// IsReadOnly returns true if this list is readonly for a user. func (this *MediaList) IsReadOnly() (bool, error) { if this.ptr == nil { return false, &VLCError{"MediaList is nil"} } return C.libvlc_media_list_is_readonly(this.ptr) == 0, checkError() }
// IsReadOnly returns true if this list is readonly for a user. func (this *MediaList) IsReadOnly() (bool, error) { if this.ptr == nil { return false, os.EINVAL } return C.libvlc_media_list_is_readonly(this.ptr) == 0, checkError() }