removed the GListAllocator type and its g_*_allocator_*() function
authorTim Janik <timj@gtk.org>
Tue, 24 Nov 1998 12:18:22 +0000 (12:18 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 24 Nov 1998 12:18:22 +0000 (12:18 +0000)
commit9c1692c2604bf147d2b08877d8cebb1f077658e0
treefc6f6f3a2e46a638f65e448d71eff427716c2808
parenteabb208b306f159264ed14d0362b56b7749a70e2
removed the GListAllocator type and its g_*_allocator_*() function

Tue Nov 24 09:40:00 1998  Tim Janik  <timj@gtk.org>

        * glib.h: removed the GListAllocator type and its g_*_allocator_*()
        function variants (which weren't working anyways) in favour of a
        generic GAllocator type. new functions:
        g_allocator_new, g_allocator_free, g_slist_push_allocator,
        g_slist_pop_allocator, g_list_push_allocator, g_list_pop_allocator,
        g_node_push_allocator and g_node_pop_allocator.

        * gstring.c: removed bogus slist allocator code.
        * gtree.c: maintain own list of free tree nodes and don't waste
        GSLists for that, removed bogus slist allocator code.
        * glist.c: use GAllocators for node allocation.
        * gslist.c: use GAllocators for node allocation.
        * gnode.c: use GAllocators for node allocation.

        * gdataset.c: cleanups wrt automatic initialization.
24 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdataset.c
glib.h
glib/gdataset.c
glib/glib.h
glib/glist.c
glib/gmem.c
glib/gnode.c
glib/gslist.c
glib/gstring.c
glib/gtree.c
glist.c
gmem.c
gnode.c
gslist.c
gstring.c
gtree.c