removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros. added macros
authorTim Janik <timj@gtk.org>
Sat, 31 Oct 1998 18:57:36 +0000 (18:57 +0000)
committerTim Janik <timj@src.gnome.org>
Sat, 31 Oct 1998 18:57:36 +0000 (18:57 +0000)
commite8a920f88d5e6f534f20f04681e5cc33dba8239f
tree88bb87a9ef0a7e5c0fa413e04c9dda41daf8bac3
parenta32e40e2c4b62a41777d63d20a0898de4aa58b91
removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros. added macros

Sat Oct 31 05:08:26 1998  Tim Janik  <timj@gtk.org>

        * glib.h: removed old G_ENUM(), G_FLAGS(), G_NV() and G_SV() macros.
        added macros G_STRUCT_OFFSET(), G_STRUCT_MEMBER_P() and
        G_STRUCT_MEMBER() for handling structure fields through their offsets.
        (struct _GHookList): added a hook_free function member, that can be used
        to free additional fields in derived hook structures.
        g_hook_free(): if hook_list->hook_free != NULL, call this function prior
        to freeing the hook. (this functionality should have been there in the
        first place, it just got forgotten as an implementation detail).
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
ghook.c
glib.h
glib/ghook.c
glib/glib.h