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