Esempio n. 1
0
// 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()
}
Esempio n. 2
0
// 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()
}