aboutsummaryrefslogtreecommitdiff
path: root/misc/swig
AgeCommit message (Collapse)Author
2017-11-16cmd/go: fix swig support and run swig tests during run.bashRuss Cox
(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>
2016-05-02all: make copyright headers consistent with one space after periodEmmanuel Odeke
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>
2015-03-06misc/swig/callback: fix test for SWIG -cgo supportIan Lance Taylor
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>
2015-01-07misc/swig/stdio: fix broken nil pointer testShenghou Ma
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>
2013-10-09cmd/go: add any .c/.cc files to the SWIG shared libraryIan Lance Taylor
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
2013-03-20misc/swig: remove old broken MakefileIan Lance Taylor
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7786046
2012-08-03cmd/go, go/build, misc/swig: add SWIG support to Go toolIan Lance Taylor
R=adg, rsc, franciscossouza, seb.binet, gen.battle CC=golang-dev https://golang.org/cl/5845071
2011-12-16various: use $GCFLAGS and $GCIMPORTS like Make doesMaxim Pimenov
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489065
2011-12-01gofmt: applied gofmt -w -s src miscRobert Griesemer
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5451070
2011-10-17misc/swig: delete binariesAnthony Martin
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5273045
2011-03-22Make.pkg: add support for SWIG, and add two SWIG examplesIan Lance Taylor
The SWIG examples are not yet built or tested by default. R=r, rsc, iant2 CC=golang-dev https://golang.org/cl/4287056