aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata/cgo/out.txt
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-04-28 14:10:03 +0200
committerRon Evans <[email protected]>2019-05-12 10:49:15 +0200
commit99587fe0731e6a80b2485eaca5657e6bd43cb9be (patch)
tree8d47af4cfdd91b0b50700510bd04539a09b8f769 /testdata/cgo/out.txt
parenteb0ce8a29897b6faa1d28ba80006f625dc0b2435 (diff)
downloadtinygo-99587fe0731e6a80b2485eaca5657e6bd43cb9be.tar.gz
tinygo-99587fe0731e6a80b2485eaca5657e6bd43cb9be.zip
cgo: add support for #define constants
These are converted to Go constants where possible.
Diffstat (limited to 'testdata/cgo/out.txt')
-rw-r--r--testdata/cgo/out.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata/cgo/out.txt b/testdata/cgo/out.txt
index ee34f0bd3..70c093b12 100644
--- a/testdata/cgo/out.txt
+++ b/testdata/cgo/out.txt
@@ -4,6 +4,10 @@ myint: 3 5
myint size: 2
longlong: -1099511627776
global: 3
+defined ints: 5 5
+defined floats: +5.800000e+000 +5.800000e+000
+defined string: defined string
+defined char: 99
15: 15
25: 25
callback 1: 50