cgo: implement void* pointer type

void* is translated to unsafe.Pointer on the Go side.
This commit is contained in:
Ayke van Laethem
2019-04-20 15:48:45 +02:00
committed by Ron Evans
parent 9c46ac4eed
commit b815d3f760
5 changed files with 22 additions and 1 deletions
+2
View File
@@ -37,6 +37,8 @@ extern _Complex float globalComplexFloat;
extern _Complex double globalComplexDouble;
extern _Complex double globalComplexLongDouble;
extern char globalChar;
extern void *globalVoidPtrSet;
extern void *globalVoidPtrNull;
extern collection_t globalStruct;
extern int globalStructSize;
extern short globalArray[3];