diff --git a/cmd/genbindings/clang2il.go b/cmd/genbindings/clang2il.go index 29564ee2..cd360583 100644 --- a/cmd/genbindings/clang2il.go +++ b/cmd/genbindings/clang2il.go @@ -361,6 +361,9 @@ func parseSingleTypeString(p string) CppParameter { insert.ByRef = true } else if tok == "*" { insert.Pointer = true + } else if tok == "qreal" { + // Transform typedef + insert.ParameterType += " double" } else { // Valid part of the type name insert.ParameterType += " " + tok