Exemple #1
0
// DeleteSources() deletes the given sources.
func DeleteSources(sources []Source) {
	n := len(sources)
	C.walDeleteSources(C.ALsizei(n), unsafe.Pointer(&sources[0]))
}
Exemple #2
0
// Delete deletes the sources.
func (self Sources) Delete() {
	n := len(self)
	C.walDeleteSources(C.ALsizei(n), unsafe.Pointer(&self[0]))
}