cgo: add support for C.CString and related functions

This commit is contained in:
Ayke van Laethem
2021-11-11 16:11:08 +01:00
committed by Ron Evans
parent 6bd18af5ef
commit c31aef06ba
14 changed files with 238 additions and 3 deletions
+2
View File
@@ -24,6 +24,8 @@ int cflagsConstant = SOME_CONSTANT;
int smallEnumWidth = sizeof(option2_t);
char globalChars[] = {2, 0, 4, 8};
int fortytwo() {
return 42;
}