cgo: add support for bitfields using generated getters and setters

This commit is contained in:
Ayke van Laethem
2019-05-29 23:26:57 +02:00
committed by Ron Evans
parent 23c8d15847
commit 1d7cc2c242
7 changed files with 412 additions and 8 deletions
+4
View File
@@ -64,3 +64,7 @@ long long tinygo_clang_getEnumConstantDeclValue(CXCursor c) {
CXType tinygo_clang_getEnumDeclIntegerType(CXCursor c) {
return clang_getEnumDeclIntegerType(c);
}
unsigned tinygo_clang_Cursor_isBitField(CXCursor c) {
return clang_Cursor_isBitField(c);
}