API cleanups. remove g_type_check_flags(), provide g_type_test_flags() as

Tue Nov 13 22:16:41 2001  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: API cleanups.
        remove g_type_check_flags(), provide g_type_test_flags() as
        a *private* function.
        s/g_type_check_is_a/g_type_check_class_is_a/, private function.
        s/g_type_instance_is_a/g_type_check_instance_is_a/, also private.
This commit is contained in:
Tim Janik
2001-11-13 21:49:13 +00:00
committed by Tim Janik
parent ac0b13e47f
commit d33e3d5331
4 changed files with 30 additions and 22 deletions

View File

@@ -2510,8 +2510,8 @@ g_type_query (GType type,
/* --- implementation details --- */
gboolean
g_type_check_flags (GType type,
guint flags)
g_type_test_flags (GType type,
guint flags)
{
TypeNode *node;
gboolean result = FALSE;
@@ -2603,8 +2603,8 @@ g_type_fundamental_last (void)
}
gboolean
g_type_instance_is_a (GTypeInstance *type_instance,
GType iface_type)
g_type_check_instance_is_a (GTypeInstance *type_instance,
GType iface_type)
{
TypeNode *node, *iface;
gboolean check;
@@ -2622,8 +2622,8 @@ g_type_instance_is_a (GTypeInstance *type_instance,
}
gboolean
g_type_class_is_a (GTypeClass *type_class,
GType is_a_type)
g_type_check_class_is_a (GTypeClass *type_class,
GType is_a_type)
{
TypeNode *node, *iface;
gboolean check;