Guard g_slice_debug_tree_statistics by G_ENABLE_DEBUG. (#390940, Kazuki

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
This commit is contained in:
Matthias Clasen 2007-01-02 13:09:03 +00:00 committed by Matthias Clasen
parent 99b531f425
commit db9c08d08b
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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> 2007-01-02 Michael Natterer <mitch@imendio.com>
* configure.in * configure.in

View File

@ -1,3 +1,7 @@
2007-01-02 Matthias Clasen <mclasen@redhat.com>
* glib/running.sgml: Remove C99ism from example.
2006-12-31 Matthias Clasen <mclasen@redhat.com> 2006-12-31 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/threads.sgml: Fix whitespace. (#391116) * glib/tmpl/threads.sgml: Fix whitespace. (#391116)

View File

@ -158,8 +158,8 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
A potential cause for such a situation that will be caught by G_SLICE=debug-blocks A potential cause for such a situation that will be caught by G_SLICE=debug-blocks
is e.g.: is e.g.:
<programlisting> <programlisting>
void *slist = g_slist_alloc(); // void* gives up type-safety void *slist = g_slist_alloc(); /* void* gives up type-safety */
g_list_free (slist); // corruption: sizeof (GSList) != sizeof (GList) g_list_free (slist); /* corruption: sizeof (GSList) != sizeof (GList) */
</programlisting> </programlisting>
</para> </para>
</listitem> </listitem>

View File

@ -686,7 +686,7 @@ g_slice_free_chain_with_offset
g_slice_set_config g_slice_set_config
g_slice_get_config g_slice_get_config
g_slice_get_config_state g_slice_get_config_state
#ifndef G_DISABLE_DEPRECATED #ifdef G_ENABLE_DEBUG
g_slice_debug_tree_statistics g_slice_debug_tree_statistics
#endif #endif
#endif #endif