// Wait waits until an interface causes the instance to exit. // You should start at least one interface first, using Instance.StartUI(). func (this *Instance) Wait() error { if this.ptr == nil { return os.EINVAL } C.libvlc_wait(this.ptr) return nil }
// Wait waits until an interface causes the instance to exit. // You should start at least one interface first, using Instance.StartUI(). func (this *Instance) Wait() error { if this.ptr == nil { return &VLCError{"Instance is nil"} } C.libvlc_wait(this.ptr) return nil }