make the datalists a safe type (not using a generic gpointer) by expecting
authorTim Janik <timj@gtk.org>
Fri, 18 Sep 1998 18:16:49 +0000 (18:16 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 18 Sep 1998 18:16:49 +0000 (18:16 +0000)
commit4193614b1c7b8fcce9c7c524d33e85b9fc51321a
treef79134a83b4cca6c3d1615ab6d96055b4ed62347
parentac3a8ac9a7cd2d5f085d8c6964fd14ebe7e70d47
make the datalists a safe type (not using a generic gpointer) by expecting

Fri Sep 18 18:46:14 1998  Tim Janik  <timj@gtk.org>

        * glib.h:
        * gdataset.c: make the datalists a safe type (not using a generic
        gpointer) by expecting a GData* argument in the g_datalist functions.
        provide g_dataset_foreach() and g_datalist_foreach() functions that
        allow a GDataForeachFunc function to walk the data lists.
        (g_dataset_destroy_internal): made this function truely reentrant (i.e.
        can be called from within destroy notifiers as well).
        the *_foreach functions are _not_ reentrant (unless all the other
        dataset and datalist functions).
12 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