diff options
author | Ayke van Laethem <[email protected]> | 2019-04-20 15:48:45 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2019-04-25 10:48:56 +0200 |
commit | b815d3f7609ebbda502a611e4be77a5f5da019ae (patch) | |
tree | b2da4b39686118cdf395e4789ac5133257ec8679 /testdata/cgo/out.txt | |
parent | 9c46ac4eed1356ee3feb7e2e10fcc6c7c8a80103 (diff) | |
download | tinygo-b815d3f7609ebbda502a611e4be77a5f5da019ae.tar.gz tinygo-b815d3f7609ebbda502a611e4be77a5f5da019ae.zip |
cgo: implement void* pointer type
void* is translated to unsafe.Pointer on the Go side.
Diffstat (limited to 'testdata/cgo/out.txt')
-rw-r--r-- | testdata/cgo/out.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testdata/cgo/out.txt b/testdata/cgo/out.txt index df481edf7..2e799e60b 100644 --- a/testdata/cgo/out.txt +++ b/testdata/cgo/out.txt @@ -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 |