mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 16:33:40 +00:00
cgo: implement Go arrays (constant arrays in C)
This commit is contained in:
committed by
Ron Evans
parent
684543b7f1
commit
536086988c
Vendored
+1
@@ -9,6 +9,7 @@ _Complex float globalComplexFloat = 4.1+3.3i;
|
||||
_Complex double globalComplexDouble = 4.2+3.4i;
|
||||
_Complex double globalComplexLongDouble = 4.3+3.5i;
|
||||
collection_t globalStruct = {256, -123456, 3.14};
|
||||
short globalArray[3] = {5, 6, 7};
|
||||
|
||||
int fortytwo() {
|
||||
return 42;
|
||||
|
||||
Reference in New Issue
Block a user