Exemple #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()
}
Exemple #2
0
// Finish shuts down the graphics subsystem
func Finish() {
	C.finish()
}
Exemple #3
0
// Finish shuts down the graphics subsystem
func Finish() {
	C.finish()
	runtime.UnlockOSThread()
}
Exemple #4
0
func Close() {
	/*
		Use this for clean up.
	*/
	C.finish()
}