Ejemplo n.º 1
0
// 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
}
Ejemplo n.º 2
0
// 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
}