// Load loads the library contents. func (this *Library) Load() error { if this.ptr == nil { return syscall.EINVAL } C.libvlc_media_library_load(this.ptr) return checkError() }
// Load loads the library contents. func (this *Library) Load() error { if this.ptr == nil { return &VLCError{"Library is nil"} } C.libvlc_media_library_load(this.ptr) return checkError() }