genbindings: skip over more unknown ast node types

This commit is contained in:
mappu 2024-08-14 18:34:46 +12:00
parent 97402096cc
commit d6a758ebbc
1 changed files with 12 additions and 0 deletions

View File

@ -61,6 +61,18 @@ func parseHeader(inner []interface{}) (*CppParsedHeader, error) {
case "FunctionDecl":
// TODO
case "FunctionTemplateDecl":
// TODO
case "CXXConstructorDecl":
// TODO (why is this at the top level? e.g qobject.h)
case "CXXDestructorDecl":
// ignore
case "CXXConversionDecl":
// TODO (e.g. qbytearray.h)
case "TypedefDecl":
// Must have a name
nodename, ok := node["name"].(string)