mirror of https://github.com/go-python/gopy.git
examples: make sure stdout is flushed
Change-Id: I95af7f5d5452a42b082d2226462ca946049c2a08
This commit is contained in:
parent
e4cb25c2e4
commit
bcd5c2f64a
|
@ -9,6 +9,7 @@ package cpkg
|
||||||
//#include <stdlib.h>
|
//#include <stdlib.h>
|
||||||
//void cpkg_printf(const char *str) {
|
//void cpkg_printf(const char *str) {
|
||||||
// fprintf(stdout, str);
|
// fprintf(stdout, str);
|
||||||
|
// fflush(stdout);
|
||||||
//}
|
//}
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue