示例#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()
}
示例#2
0
文件: library.go 项目: henrym/go-vlc
// 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()
}