mirror of
https://github.com/mappu/miqt.git
synced 2025-01-21 06:00:38 +00:00
genbindings/integers: c-style cast for qsizetype, qintptr pointers
This commit is contained in:
parent
f733ce29bc
commit
c783029317
@ -234,6 +234,8 @@ func emitCABI2CppForwarding(p CppParameter, indent string) (preamble string, for
|
||||
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.ParameterType == "qint8" {
|
||||
// QDataStream::operator>>() by reference (qint64)
|
||||
// QLockFile::getLockInfo() by pointer
|
||||
|
Loading…
x
Reference in New Issue
Block a user