1
0
mirror of https://github.com/mappu/miqt.git synced 2025-04-09 23:20:22 +00:00

genbindings: fix early Empty() if header only contains enums

This commit is contained in:
mappu 2024-10-08 18:22:14 +13:00
parent 60600530c6
commit a4eb43c9fd

@ -338,6 +338,7 @@ type CppParsedHeader struct {
func (c CppParsedHeader) Empty() bool {
return len(c.Typedefs) == 0 &&
len(c.Enums) == 0 &&
len(c.Classes) == 0
}