genbindings: qreal->double

This commit is contained in:
mappu 2024-08-11 16:54:07 +12:00
parent 4d94d4cd34
commit 08168454c1

View File

@ -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