mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
genbindings: fix early Empty() if header only contains enums
This commit is contained in:
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user