mirror of
https://github.com/mappu/miqt.git
synced 2025-04-28 16:10:21 +00:00
genbindings/cabi: remove not-triggered integer cases
This commit is contained in:
parent
336cbeef3a
commit
9c8338b7ec
@ -361,11 +361,7 @@ func emitCABI2CppForwarding(p CppParameter, indent string) (preamble string, for
|
|||||||
return preamble, "static_cast<" + p.RenderTypeQtCpp() + ">(const_cast<" + p.RenderTypeIntermediateCpp() + ">(" + p.cParameterName() + "))"
|
return preamble, "static_cast<" + p.RenderTypeQtCpp() + ">(const_cast<" + p.RenderTypeIntermediateCpp() + ">(" + p.cParameterName() + "))"
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.ParameterType == "qint64" ||
|
if p.GetQtCppType().ParameterType == "qintptr" ||
|
||||||
p.ParameterType == "quint64" ||
|
|
||||||
p.ParameterType == "qlonglong" ||
|
|
||||||
p.ParameterType == "qulonglong" ||
|
|
||||||
p.GetQtCppType().ParameterType == "qintptr" ||
|
|
||||||
p.GetQtCppType().ParameterType == "qsizetype" || // Qt 6 qversionnumber.h: invalid ‘static_cast’ from type ‘ptrdiff_t*’ {aka ‘long int*’} to type ‘qsizetype*’ {aka ‘long long int*’}
|
p.GetQtCppType().ParameterType == "qsizetype" || // Qt 6 qversionnumber.h: invalid ‘static_cast’ from type ‘ptrdiff_t*’ {aka ‘long int*’} to type ‘qsizetype*’ {aka ‘long long int*’}
|
||||||
p.ParameterType == "qint8" ||
|
p.ParameterType == "qint8" ||
|
||||||
(p.IsFlagType() && p.ByRef) ||
|
(p.IsFlagType() && p.ByRef) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user