Пример #1
0
// Shuts down the current [initialized] Freenect context.
func (freenect *Freenect) Shutdown() int {
	_freenect = nil
	return int(C.freenect_shutdown(freenect.ctx))
}
Пример #2
0
//FREENECTAPI int freenect_shutdown(freenect_context *ctx);
func (ctx *Context) Shutdown() int {
	return int(C.freenect_shutdown(ctx.ptr()))
}
Пример #3
0
func (d *FreenectDevice) Shutdown() {
	C.freenect_shutdown(d.DeviceContext)
}