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

View File

@ -61,6 +61,18 @@ func parseHeader(inner []interface{}) (*CppParsedHeader, error) {
case "FunctionDecl": case "FunctionDecl":
// TODO // 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": case "TypedefDecl":
// Must have a name // Must have a name
nodename, ok := node["name"].(string) nodename, ok := node["name"].(string)