mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
cgo: implement void* pointer type
void* is translated to unsafe.Pointer on the Go side.
This commit is contained in:
committed by
Ron Evans
parent
9c46ac4eed
commit
b815d3f760
Vendored
+2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user