mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
better to add line break for flash stdout buffer to make sure showing message on console.
parent
f793dc38a2
commit
9f1e2a0153
2
cgo.md
2
cgo.md
@ -20,7 +20,7 @@ package cgoexample
|
||||
#include <stdlib.h>
|
||||
|
||||
void myprint(char* s) {
|
||||
printf("%s", s);
|
||||
printf("%s\n", s);
|
||||
}
|
||||
*/
|
||||
import "C"
|
||||
|
Loading…
x
Reference in New Issue
Block a user