From e6ca7668beb8e3fe94cc314c759599d889c09220 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Sat, 25 May 2024 18:12:44 +0200 Subject: [PATCH] gtkdebug: Document DEBUG_CHECK --- gtk/gtkdebug.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkdebug.h b/gtk/gtkdebug.h index 32809c79ba..c1bbf5055c 100644 --- a/gtk/gtkdebug.h +++ b/gtk/gtkdebug.h @@ -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