2007-01-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Guard g_slice_debug_tree_statistics
by G_ENABLE_DEBUG. (#390940, Kazuki Iwamoto)
svn path=/trunk/; revision=5190
+2007-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols: Guard g_slice_debug_tree_statistics
+ by G_ENABLE_DEBUG. (#390940, Kazuki Iwamoto)
+
2007-01-02 Michael Natterer <mitch@imendio.com>
* configure.in
+2007-01-02 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/running.sgml: Remove C99ism from example.
+
2006-12-31 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/threads.sgml: Fix whitespace. (#391116)
A potential cause for such a situation that will be caught by G_SLICE=debug-blocks
is e.g.:
<programlisting>
- void *slist = g_slist_alloc(); // void* gives up type-safety
- g_list_free (slist); // corruption: sizeof (GSList) != sizeof (GList)
+ void *slist = g_slist_alloc(); /* void* gives up type-safety */
+ g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */
</programlisting>
</para>
</listitem>
g_slice_set_config
g_slice_get_config
g_slice_get_config_state
-#ifndef G_DISABLE_DEPRECATED
+#ifdef G_ENABLE_DEBUG
g_slice_debug_tree_statistics
#endif
#endif