1
0
mirror of https://github.com/golang/go synced 2024-11-23 07:10:05 -07:00
go/misc
Shenghou Ma 583293349b misc/swig/stdio: fix broken nil pointer test
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>
2015-01-07 23:24:23 +00:00
..
android build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
arm
cgo cmd/cgo: remove obsolete -cdefs flag 2015-01-07 22:49:59 +00:00
chrome/gophertool misc/chrome/gophertool: update for the git/gerrit transition 2014-12-18 07:34:46 +00:00
dashboard/codereview misc/dashboard/app, misc/dashboard/builder: delete from main repo; part of move to go.tools 2013-08-01 13:27:27 +10:00
git
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease misc/makerelease: fix build 2014-12-15 01:55:29 +00:00
nacl undo CL 176900044 / 561398621ba7 2014-11-17 14:21:29 +11:00
swig misc/swig/stdio: fix broken nil pointer test 2015-01-07 23:24:23 +00:00
benchcmp all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00
editors misc: delete editor and shell support 2014-07-01 09:21:25 -07:00