mirror of https://github.com/go-python/gopy.git
bind: consolidate gengo-preamble
Change-Id: I24024ec118735be00f391060c257a990fe8a49d3
This commit is contained in:
parent
3913a1e753
commit
998c78c822
|
@ -19,7 +19,7 @@ const (
|
|||
// File is generated by gopy gen. Do not edit.
|
||||
package main
|
||||
|
||||
//#cgo pkg-config: %[3]s --cflags --libs
|
||||
//#cgo pkg-config: %[2]s --cflags --libs
|
||||
//#include <stdlib.h>
|
||||
//#include <string.h>
|
||||
//#include <complex.h>
|
||||
|
@ -30,7 +30,7 @@ import (
|
|||
"sync"
|
||||
"unsafe"
|
||||
|
||||
%[2]s
|
||||
%[3]s
|
||||
)
|
||||
|
||||
var _ = unsafe.Pointer(nil)
|
||||
|
@ -961,7 +961,7 @@ func (g *goGen) genPreamble() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
g.Printf(goPreamble, n, pkgimport, pkgcfg)
|
||||
g.Printf(goPreamble, n, pkgcfg, pkgimport)
|
||||
}
|
||||
|
||||
func (g *goGen) tupleString(tuple []*Var) string {
|
||||
|
|
Loading…
Reference in New Issue