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