2007-01-30 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gslice.h:
* glib/gslice.c: Don't make ABI depend on G_ENABLE_DEBUG,
just add an empty g_slice_debug_tree_statistics () implementation
in the !G_ENABLE_DEBUG case.
svn path=/trunk/; revision=5318
+2007-01-30 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/glib.symbols:
+ * glib/gslice.h:
+ * glib/gslice.c: Don't make ABI depend on G_ENABLE_DEBUG,
+ just add an empty g_slice_debug_tree_statistics () implementation
+ in the !G_ENABLE_DEBUG case.
+
2007-01-26 Matthias Clasen <mclasen@redhat.com>
* configure.in: Define G_GNUC_INTERNAL for Sun Studio
g_slice_set_config
g_slice_get_config
g_slice_get_config_state
-#ifdef G_ENABLE_DEBUG
g_slice_debug_tree_statistics
#endif
#endif
-#endif
#if IN_HEADER(__G_MESSAGES_H__)
#if IN_FILE(__G_MESSAGES_C__)
return found_one;
}
-#ifdef G_ENABLE_DEBUG
void
g_slice_debug_tree_statistics (void)
{
+#ifdef G_ENABLE_DEBUG
g_mutex_lock (smc_tree_mutex);
if (smc_tree_root)
{
* GSlice: MemChecker: 504.900474 branches per trunk, 98.81% utilization
* GSlice: MemChecker: 4.965039 entries per branch, 1 minimum, 37 maximum
*/
-}
#endif /* G_ENABLE_DEBUG */
+}
#define __G_SLICE_C__
#include "galiasdef.c"
void g_slice_set_config (GSliceConfig ckey, gint64 value);
gint64 g_slice_get_config (GSliceConfig ckey);
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_ENABLE_DEBUG */
G_END_DECLS