From e1d603bc3d6da9aa431479057ef603461dbe4664 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 9 Feb 2024 10:08:00 +0000 Subject: [PATCH] gslice: Hide g_slice_debug_tree_statistics from introspection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s not useful and previously hasn’t been shown in the introspection API. Signed-off-by: Philip Withnall Fixes: #3231 --- glib/gslice.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/gslice.h b/glib/gslice.h index eb6778629..cfa528ed8 100644 --- a/glib/gslice.h +++ b/glib/gslice.h @@ -107,10 +107,12 @@ gint64 g_slice_get_config (GSliceConfig ckey); GLIB_DEPRECATED_IN_2_34 gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); +#ifndef __GI_SCANNER__ #ifdef G_ENABLE_DEBUG GLIB_AVAILABLE_IN_ALL void g_slice_debug_tree_statistics (void); #endif +#endif G_END_DECLS