bind: consolidate gengo-preamble

Change-Id: I24024ec118735be00f391060c257a990fe8a49d3
This commit is contained in:
Sebastien Binet 2015-09-02 17:09:19 +02:00
parent 3913a1e753
commit 998c78c822
1 changed files with 3 additions and 3 deletions

View File

@ -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 {