-GList*
-g_list_prepend_mempool (MonoMemPool *mp, GList *list, gpointer data)
-{
- GList *new_list;
-
- new_list = mono_mempool_alloc (mp, sizeof (GList));
- new_list->data = data;
- new_list->prev = list ? list->prev : NULL;
- new_list->next = list;
-
- if (new_list->prev)
- new_list->prev->next = new_list;
- if (list)
- list->prev = new_list;
-
- return new_list;
-}
-
-GSList*
-g_slist_prepend_mempool (MonoMemPool *mp, GSList *list, gpointer data)
-{
- GSList *new_list;
-
- new_list = mono_mempool_alloc (mp, sizeof (GSList));
- new_list->data = data;
- new_list->next = list;
-
- return new_list;
-}
-
-GSList*
-g_slist_append_mempool (MonoMemPool *mp, GSList *list, gpointer data)
+/**
+ * mono_mempool_get_bytes_allocated:
+ *
+ * Return the number of bytes currently allocated for mempools.
+ */
+long
+mono_mempool_get_bytes_allocated (void)