mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-09 13:33:39 +00:00
cgo: add support for C.CString and related functions
This commit is contained in:
committed by
Ron Evans
parent
6bd18af5ef
commit
c31aef06ba
Vendored
+2
@@ -24,6 +24,8 @@ int cflagsConstant = SOME_CONSTANT;
|
||||
|
||||
int smallEnumWidth = sizeof(option2_t);
|
||||
|
||||
char globalChars[] = {2, 0, 4, 8};
|
||||
|
||||
int fortytwo() {
|
||||
return 42;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user