mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
gtkdebug: Document DEBUG_CHECK
This commit is contained in:
parent
0b540b9ad1
commit
e6ca7668be
@ -106,6 +106,12 @@ typedef enum {
|
||||
GTK_DEBUG_CSS = 1 << 20,
|
||||
} GtkDebugFlags;
|
||||
|
||||
/**
|
||||
* GTK_DEBUG_CHECK:
|
||||
* @type: type to check
|
||||
*
|
||||
* Whether the `type` debug flag is set.
|
||||
**/
|
||||
#define GTK_DEBUG_CHECK(type) G_UNLIKELY (gtk_get_debug_flags () & GTK_DEBUG_##type)
|
||||
|
||||
GDK_AVAILABLE_IN_ALL
|
||||
|
Loading…
Reference in New Issue
Block a user