summaryrefslogtreecommitdiff
path: root/gtk/gtkbitset.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-06-29 19:04:07 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-07-02 17:19:16 -0400
commit09666368036df6afe49ec0dc3b71202417263997 (patch)
tree4348803b510cb935b549f7782b31e3eaa09c95d8 /gtk/gtkbitset.h
parent988901294dffafdc80f8672e8a9a74cc5dcccf97 (diff)
downloadgtk+-09666368036df6afe49ec0dc3b71202417263997.tar.gz
bitset: Add APIs needed for a filterlistmodel
Diffstat (limited to 'gtk/gtkbitset.h')
-rw-r--r--gtk/gtkbitset.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkbitset.h b/gtk/gtkbitset.h
index fc26e0d7de..1fcbf6faeb 100644
--- a/gtk/gtkbitset.h
+++ b/gtk/gtkbitset.h
@@ -48,6 +48,15 @@ GDK_AVAILABLE_IN_ALL
gboolean gtk_bitset_equals (const GtkBitset *self,
const GtkBitset *other);
GDK_AVAILABLE_IN_ALL
+guint64 gtk_bitset_get_size (const GtkBitset *self);
+GDK_AVAILABLE_IN_ALL
+guint64 gtk_bitset_get_size_in_range (const GtkBitset *self,
+ guint first,
+ guint last);
+GDK_AVAILABLE_IN_ALL
+guint gtk_bitset_get_nth (const GtkBitset *self,
+ guint nth);
+GDK_AVAILABLE_IN_ALL
guint gtk_bitset_get_minimum (const GtkBitset *self);
GDK_AVAILABLE_IN_ALL
guint gtk_bitset_get_maximum (const GtkBitset *self);