summaryrefslogtreecommitdiff
path: root/misc/swig
Commit message (Collapse)AuthorAgeFilesLines
* cmd/go: fix swig support and run swig tests during run.bashRuss Cox2017-11-162-0/+21
| | | | | | | | (The tests only run when swig is already installed on the local system.) Change-Id: I172d106a68cfc746a1058f5a4bcf6761bab88912 Reviewed-on: https://go-review.googlesource.com/78175 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* all: make copyright headers consistent with one space after periodEmmanuel Odeke2016-05-027-7/+7
| | | | | | | | | | | | | | | | | | Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* misc/swig/callback: fix test for SWIG -cgo supportIan Lance Taylor2015-03-061-7/+6
| | | | | | | | | | The test used to import ../callback. I forget why that ever worked, but it probably had something to do with the shared libraries we used to use with SWIG. It doesn't work today. Change-Id: Ib83d6c398aa46bf2fc66320b47b6e6d9897ee0b7 Reviewed-on: https://go-review.googlesource.com/7004 Reviewed-by: David Crawshaw <crawshaw@golang.org>
* misc/swig/stdio: fix broken nil pointer testShenghou Ma2015-01-071-1/+1
| | | | | | | | | | | | SWIG has always returned a typed interface value for a C++ class, so the interface value will never be nil even if the pointer itself is NULL. ptr == NULL in C/C++ should be ptr.Swigcptr() == 0 in Go. Fixes #9514. Change-Id: I3778b91acf54d2ff22d7427fbf2b6ec9b9ce3b43 Reviewed-on: https://go-review.googlesource.com/2440 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* cmd/go: add any .c/.cc files to the SWIG shared libraryIan Lance Taylor2013-10-092-5/+16
| | | | | | | | | | | Also add the action's object directory to the list of directories we use to find SWIG shared libraries. Fixes #6521. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/14369043
* misc/swig: remove old broken MakefileIan Lance Taylor2013-03-201-17/+0
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7786046
* cmd/go, go/build, misc/swig: add SWIG support to Go toolIan Lance Taylor2012-08-037-68/+81
| | | | | | R=adg, rsc, franciscossouza, seb.binet, gen.battle CC=golang-dev https://golang.org/cl/5845071
* various: use $GCFLAGS and $GCIMPORTS like Make doesMaxim Pimenov2011-12-162-2/+2
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489065
* gofmt: applied gofmt -w -s src miscRobert Griesemer2011-12-011-1/+1
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5451070
* misc/swig: delete binariesAnthony Martin2011-10-172-0/+0
| | | | | | R=golang-dev, iant CC=golang-dev https://golang.org/cl/5273045
* Make.pkg: add support for SWIG, and add two SWIG examplesIan Lance Taylor2011-03-229-0/+137
The SWIG examples are not yet built or tested by default. R=r, rsc, iant2 CC=golang-dev https://golang.org/cl/4287056