malloc.goc
21.9 KB
-
runtime: Handle allocating memory in cgo/SWIG function. · b0c5dc16
A function that returns an interface type and returns a value that requires memory allocation will try to allocate while appearing to be in a syscall. This patch lets that work. From-SVN: r201226
Ian Lance Taylor committed