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