mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
genbindings/cabi: QFlags<>& use C-style cast
This commit is contained in:
parent
d3dffc4976
commit
25e10f2824
@ -299,7 +299,8 @@ func emitCABI2CppForwarding(p CppParameter, indent string) (preamble string, for
|
|||||||
p.ParameterType == "qulonglong" ||
|
p.ParameterType == "qulonglong" ||
|
||||||
p.GetQtCppType().ParameterType == "qintptr" ||
|
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) {
|
||||||
// QDataStream::operator>>() by reference (qint64)
|
// QDataStream::operator>>() by reference (qint64)
|
||||||
// QLockFile::getLockInfo() by pointer
|
// QLockFile::getLockInfo() by pointer
|
||||||
// QTextStream::operator>>() by reference (qlonglong + qulonglong)
|
// QTextStream::operator>>() by reference (qlonglong + qulonglong)
|
||||||
|
Loading…
Reference in New Issue
Block a user