mirror of
https://github.com/golang/go
synced 2024-11-12 04:50:21 -07:00
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
This commit is contained in:
parent
58030c541b
commit
6732ad94c7
@ -511,7 +511,7 @@ struct ParFor
|
||||
struct CgoMal
|
||||
{
|
||||
CgoMal *next;
|
||||
byte *alloc;
|
||||
void *alloc;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user