-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: qtypes: add support for Qt alias types that don't match #904
base: main
Are you sure you want to change the base?
Conversation
} | ||
|
||
#[repr(C)] | ||
pub struct QInt64 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should probably have things like Eq, Ord, Debug ?
Or do we change this to be a totally trivial type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As could this just be QInt64(i64)
?
e8826f5
to
e409d32
Compare
@@ -0,0 +1,83 @@ | |||
// SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2024 :) new file
alignof(::std::int64_t), | ||
sizeof(::std::int64_t)); | ||
|
||
// static_assert(!::std::is_trivially_copy_assignable<qsizetype>::value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove it ?
@@ -0,0 +1,29 @@ | |||
// clang-format off | |||
// SPDX-FileCopyrightText: 2023 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2024
Some times don't match the Rust types so add these missing types. Closes KDAB#882
e409d32
to
e5daff8
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #904 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 73 73
Lines 12484 12484
=========================================
Hits 12484 12484 ☔ View full report in Codecov by Sentry. |
Closes #882