mirror of
https://github.com/slint-ui/slint.git
synced 2025-07-12 07:35:18 +00:00
C++: Use size_t instead of uintptr_t for the index and count
Same as row_count
This commit is contained in:
parent
a3dad45f0b
commit
3b0ddbfa75
1 changed files with 2 additions and 2 deletions
|
@ -357,7 +357,7 @@ public:
|
|||
}
|
||||
|
||||
/// Returns the accessible-item-index of that element, if any.
|
||||
std::optional<uintptr_t> accessible_item_index() const
|
||||
std::optional<size_t> accessible_item_index() const
|
||||
{
|
||||
if (auto result = get_accessible_string_property(
|
||||
cbindgen_private::AccessibleStringProperty::ItemIndex)) {
|
||||
|
@ -370,7 +370,7 @@ public:
|
|||
}
|
||||
|
||||
/// Returns the accessible-item-count of that element, if any.
|
||||
std::optional<uintptr_t> accessible_item_count() const
|
||||
std::optional<size_t> accessible_item_count() const
|
||||
{
|
||||
if (auto result = get_accessible_string_property(
|
||||
cbindgen_private::AccessibleStringProperty::ItemCount)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue