]> Cypherpunks repositories - gostls13.git/commit
runtime: make CgoMal alloc field void*
authorIan Lance Taylor <iant@golang.org>
Sun, 7 Apr 2013 03:18:15 +0000 (20:18 -0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 7 Apr 2013 03:18:15 +0000 (20:18 -0700)
commit6732ad94c763be17dd5ae86f2dd51f1046026712
treeda6875d0bf9c9967af8c2eabd5d64b27ea58c6aa
parent58030c541bd39b287aa66569e58094279b7cf642
runtime: make CgoMal alloc field void*

This makes it an unsafe.Pointer in Go so the garbage collector
will treat it as a pointer to untyped data, not a pointer to
bytes.

R=golang-dev, dvyukov
CC=golang-dev
https://golang.org/cl/8286045
src/pkg/runtime/runtime.h