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
+1
View File
@@ -15,6 +15,7 @@ complex float: (+4.100000e+000+3.300000e+000i)
complex double: (+4.200000e+000+3.400000e+000i)
complex long double: (+4.300000e+000+3.500000e+000i)
char match: true
void* match: true true true
struct: true 256 -123456 +3.140000e+000
array: 5 6 7
union: true