func (self *Context) DestroyContext() { C.alcDestroyContext(self.handle) self.handle = nil // XXX: there used to be a alcDestroyContext() that // returned something, but our alc.h doesn't list // that one... Hmmm... }
func (context *Context) Destroy() { C.alcDestroyContext((*C.ALCcontext)(context)) }
// Renamed, was DestroyContext. func (self *Context) Destroy() { C.alcDestroyContext(self.handle) self.handle = nil }
func alcDestroyContext(c unsafe.Pointer) { C.alcDestroyContext((*C.ALCcontext)(c)) }
func (con Context) Destroy() error { C.alcDestroyContext(con.context) return GetError() }