Better _Bool translation
This commit is contained in:
@@ -1809,6 +1809,11 @@ ZigClangQualType ZigClangType_getPointeeType(const ZigClangType *self) {
|
||||
return bitcast(casted->getPointeeType());
|
||||
}
|
||||
|
||||
bool ZigClangType_isBooleanType(const ZigClangType *self) {
|
||||
auto casted = reinterpret_cast<const clang::Type *>(self);
|
||||
return casted->isBooleanType();
|
||||
}
|
||||
|
||||
bool ZigClangType_isVoidType(const ZigClangType *self) {
|
||||
auto casted = reinterpret_cast<const clang::Type *>(self);
|
||||
return casted->isVoidType();
|
||||
|
||||
Reference in New Issue
Block a user