go/src/cmd/cgo
Matthew Dempsky 0da4b2dbc2 cmd/cgo: fix recursive type mapping
Instead of immediately completing pointer type mappings, add them to
a queue to allow them to be completed later.  This fixes issues	caused
by Type() returning arbitrary in-progress type mappings.

Fixes #8368.
Fixes #8441.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/122850043
2014-08-05 18:16:56 -07:00
..
ast.go cmd/cgo: replace C.malloc with our own wrapper 2013-09-11 11:30:08 -04:00
doc.go cmd/cgo: document the cgo types also follow Go name space rules. 2014-05-31 00:51:46 -07:00
gcc.go cmd/cgo: fix recursive type mapping 2014-08-05 18:16:56 -07:00
godefs.go cmd/cgo: Fix issue with cgo cdefs 2013-07-24 17:27:42 -07:00
main.go cmd/cgo: replace C.malloc with our own wrapper 2013-09-11 11:30:08 -04:00
out.go cmd/cgo: fix handling of defs_linux.go 2014-08-05 18:12:32 -07:00
util.go cmd/cgo: don't reimplement os/exec in util.go. 2013-03-01 15:04:14 -05:00