Skip to content

Commit

Permalink
test: fix test code for complete Python C API use pkg-config
Browse files Browse the repository at this point in the history
Signed-off-by: Koichi Shiraishi <[email protected]>
  • Loading branch information
zchee committed Aug 16, 2016
1 parent 4e77c91 commit cf34274
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/cgo.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package test

/*
#cgo pkg-config: python3
#include <stdlib.h>
#include <Python.h>
*/
import "C"
import (
Expand All @@ -12,4 +14,5 @@ import (
func main() {
fmt.Printf()
os.Rename()
C
}

0 comments on commit cf34274

Please sign in to comment.