From 488cdb13f60273a944a6b9f0c22e233f43c7e00f Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 1 Nov 2012 19:38:09 -0400 Subject: [PATCH] gslice: Prototype G_ENABLE_DEBUG function that's part of ABI Sadly, g_slice_debug_tree_statistics is conditionally part of the public ABI. We might as well make it conditionally part of the API as well, even though this will require people actually using it to https://bugzilla.gnome.org/show_bug.cgi?id=687385 --- glib/gslice.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glib/gslice.h b/glib/gslice.h index 3efd645dd..7e0c5b1db 100644 --- a/glib/gslice.h +++ b/glib/gslice.h @@ -85,6 +85,10 @@ 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); +#ifdef G_ENABLE_DEBUG +void g_slice_debug_tree_statistics (void); +#endif + G_END_DECLS #endif /* __G_SLICE_H__ */