mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
genbindings: qreal->double
This commit is contained in:
parent
4d94d4cd34
commit
08168454c1
@ -361,6 +361,9 @@ func parseSingleTypeString(p string) CppParameter {
|
|||||||
insert.ByRef = true
|
insert.ByRef = true
|
||||||
} else if tok == "*" {
|
} else if tok == "*" {
|
||||||
insert.Pointer = true
|
insert.Pointer = true
|
||||||
|
} else if tok == "qreal" {
|
||||||
|
// Transform typedef
|
||||||
|
insert.ParameterType += " double"
|
||||||
} else {
|
} else {
|
||||||
// Valid part of the type name
|
// Valid part of the type name
|
||||||
insert.ParameterType += " " + tok
|
insert.ParameterType += " " + tok
|
||||||
|
Loading…
Reference in New Issue
Block a user