mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 23:43:40 +00:00
cgo: add support for #define constants
These are converted to Go constants where possible.
This commit is contained in:
committed by
Ron Evans
parent
eb0ce8a298
commit
99587fe073
Vendored
+4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user