provide a short-cut version for this macro in case
authorTim Janik <timj@gtk.org>
Tue, 3 Feb 2004 20:30:23 +0000 (20:30 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 3 Feb 2004 20:30:23 +0000 (20:30 +0000)
commit999a87a19a96cd3392f91e93cd3c44ee9daf18b2
tree15a3c85f25d8149c120a9f3579ef31c0b519bb73
parent341956610c3fe87ceab6e53e932177fe8a9d95a2
provide a short-cut version for this macro in case

Tue Feb  3 21:24:01 2004  Tim Janik  <timj@gtk.org>

        * gtype.h (_G_TYPE_CVH): provide a short-cut version for
        this macro in case value->g_type==checked_type for gcc, similar
        to instance and class check short-cuts. this speeds up code that
        makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).

        * gtype.c (type_data_last_unref_Wm): don't call class-cache functions
        for the uncached case, this rendered g_type_class_unref_uncached()
        useless. pointed out by Stefan Westerfeld.
docs/reference/glib/tmpl/string_utils.sgml
docs/reference/glib/tmpl/threads.sgml
gobject/ChangeLog
gobject/gtype.c
gobject/gtype.h