mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
cgo: implement char type
This type is a bit more difficult because it can be signed or unsigned depending on the target platform.
This commit is contained in:
committed by
Ron Evans
parent
b2e96fc35a
commit
9c46ac4eed
Vendored
+1
@@ -8,6 +8,7 @@ double globalDouble = 3.2;
|
||||
_Complex float globalComplexFloat = 4.1+3.3i;
|
||||
_Complex double globalComplexDouble = 4.2+3.4i;
|
||||
_Complex double globalComplexLongDouble = 4.3+3.5i;
|
||||
char globalChar = 100;
|
||||
collection_t globalStruct = {256, -123456, 3.14, 88};
|
||||
int globalStructSize = sizeof(globalStruct);
|
||||
short globalArray[3] = {5, 6, 7};
|
||||
|
||||
Reference in New Issue
Block a user