mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
gtkbitset: Define autocleanup function
This commit is contained in:
parent
2f8eac2c0a
commit
1a64eeb88e
@ -38,6 +38,7 @@ GDK_AVAILABLE_IN_ALL
|
|||||||
GtkBitset * gtk_bitset_ref (GtkBitset *self);
|
GtkBitset * gtk_bitset_ref (GtkBitset *self);
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
void gtk_bitset_unref (GtkBitset *self);
|
void gtk_bitset_unref (GtkBitset *self);
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBitset, gtk_bitset_unref)
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
gboolean gtk_bitset_contains (const GtkBitset *self,
|
gboolean gtk_bitset_contains (const GtkBitset *self,
|
||||||
|
Loading…
Reference in New Issue
Block a user