mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
17 lines
295 B
Go
17 lines
295 B
Go
package main
|
|
|
|
// astTransformBlacklist filters out things we do not want to parse.
|
|
func astTransformBlacklist(parsed *CppParsedHeader) {
|
|
var keep []CppClass
|
|
|
|
for _, c := range parsed.Classes {
|
|
if c.ClassName[0] != 'Q' {
|
|
continue
|
|
}
|
|
|
|
keep = append(keep, c)
|
|
}
|
|
|
|
parsed.Classes = keep
|
|
}
|