For Go: Fix handling of INPUT variables when using typemaps.i. This

fixes cases where the gotype typemap is used to produce a simple Go
type for a non-simple C/C++ type.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Ian Lance Taylor 2011-02-20 05:48:25 +00:00
commit 7ac265ff3d
2 changed files with 30 additions and 2 deletions

View file

@ -32,7 +32,7 @@ func main() {
// Now try the typemap library
// Now it is no longer necessary to manufacture pointers.
// Instead we use a single element array which in Java is modifiable.
// Instead we use a single element slice which in Go is modifiable.
fmt.Println("Trying the typemap library")
r := []int{0}