better to add line break for flash stdout buffer to make sure showing message on console.

Jxck 2016-05-09 14:40:47 +09:00
parent f793dc38a2
commit 9f1e2a0153

2
cgo.md

@ -20,7 +20,7 @@ package cgoexample
#include <stdlib.h> #include <stdlib.h>
void myprint(char* s) { void myprint(char* s) {
printf("%s", s); printf("%s\n", s);
} }
*/ */
import "C" import "C"