use g_type_check_is_value_type() instead of g_type_value_table_peek().

Thu Nov 22 03:30:57 2001  Tim Janik  <timj@gtk.org>

        * gvalue.h (G_TYPE_IS_VALUE): use g_type_check_is_value_type()
        instead of g_type_value_table_peek().

        * gtype.[hc] (type_check_is_value_type_U): speed up check
        LOCK-less by caching lookups in node->mutatable_has_value_table.

        * gtype.[hc]: removed locks where possible. partly based on
        patches from owen and alex.
This commit is contained in:
Tim Janik
2001-11-22 03:20:07 +00:00
committed by Tim Janik
parent 0d14682569
commit aafb9e4ba9
15 changed files with 446 additions and 428 deletions

View File

@@ -110,7 +110,7 @@ help (gchar *arg)
fprintf (stderr, " -s specify line spacing\n");
fprintf (stderr, "qualifiers:\n");
fprintf (stderr, " froots iterate over fundamental roots\n");
fprintf (stderr, " tree print BSE type tree\n");
fprintf (stderr, " tree print type tree\n");
return arg != NULL;
}