[glib] gslice: Prototype G_ENABLE_DEBUG function that's part of ABI
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gslice: Prototype G_ENABLE_DEBUG function that's part of ABI
- Date: Fri, 2 Nov 2012 13:05:39 +0000 (UTC)
commit 488cdb13f60273a944a6b9f0c22e233f43c7e00f
Author: Colin Walters <walters verbum org>
Date: Thu Nov 1 19:38:09 2012 -0400
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/glib/gslice.h b/glib/gslice.h
index 3efd645..7e0c5b1 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]