예제 #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
파일: freenect.go 프로젝트: postfix/gonect
func (d *FreenectDevice) Shutdown() {
	C.freenect_shutdown(d.DeviceContext)
}