Exemplo 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()
}
Exemplo 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()
}