Commit 6732ad94 authored by Ian Lance Taylor's avatar Ian Lance Taylor

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
parent 58030c54
......@@ -511,7 +511,7 @@ struct ParFor
struct CgoMal
{
CgoMal *next;
byte *alloc;
void *alloc;
};
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment