mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
genbindings: skip over more unknown ast node types
This commit is contained in:
parent
97402096cc
commit
d6a758ebbc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user