Commit Graph

4 Commits

Author SHA1 Message Date
Sebastien Binet 5c74378c29 examples/cpkg: fix c-compilation warning
Compiling with `-Wformat-security` resulted in:
```sh
gopy/_examples/cpkg/cpkg.go: In function ‘cpkg_printf’:
gopy/_examples/cpkg/cpkg.go:11:2: warning: format not a string literal and no format arguments [-Wformat-security]
```

This CL is an attempted at fixing that.
2015-08-11 21:12:19 +02:00
Sebastien Binet bcd5c2f64a examples: make sure stdout is flushed
Change-Id: I95af7f5d5452a42b082d2226462ca946049c2a08
2015-08-10 10:00:57 +02:00
Sebastien Binet e4cb25c2e4 all: use cpkg to print via C-stdio so outputs are sync'd with python's i/o layer
Change-Id: If1dfa6e3cbb74cf4cd4852ea6db850c3318b388b
2015-08-10 09:41:44 +02:00
Sebastien Binet 85958438a3 examples: add a cgo-based package
Change-Id: I602af8071eff4f38bdea1817acbcba98de2720c1
2015-08-10 09:26:06 +02:00