// Retain increments the reference count of this MediaList instance. func (this *MediaList) Retain() error { if this.ptr == nil { return &VLCError{"MediaList is nil"} } C.libvlc_media_list_retain(this.ptr) return checkError() }
// Retain increments the reference count of this MediaList instance. func (this *MediaList) Retain() error { if this.ptr == nil { return os.EINVAL } C.libvlc_media_list_retain(this.ptr) return checkError() }