Пример #1
0
func main() {
	C.init(C.CString(os.Args[1]))
	for _, a := range os.Args[2:] {
		C.write_file(C.CString(a+"\n"), C.size_t(len(a)+1))
	}
	C.finish()
}
Пример #2
0
// Finish shuts down the graphics subsystem
func Finish() {
	C.finish()
}
Пример #3
0
// Finish shuts down the graphics subsystem
func Finish() {
	C.finish()
	runtime.UnlockOSThread()
}
Пример #4
0
func Close() {
	/*
		Use this for clean up.
	*/
	C.finish()
}