genbindings: fix qintptr cabi typing

This commit is contained in:
mappu 2024-08-18 17:47:31 +12:00
parent 441d96398f
commit ef4dc703e6

View File

@ -35,6 +35,8 @@ func (p CppParameter) RenderTypeCpp() string {
ret = "_Float16" // No idea where this typedef comes from, but it exists ret = "_Float16" // No idea where this typedef comes from, but it exists
case "qsizetype": case "qsizetype":
ret = "size_t" ret = "size_t"
case "qintptr":
ret = "uintptr_t"
case "QRgb": case "QRgb":
ret = "unsigned int" ret = "unsigned int"
} }