removed g_type_is_dynamic() and added g_type_get_plugin().

Tue Jul 11 02:48:13 2000  Tim Janik  <timj@gtk.org>

        * gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
This commit is contained in:
Tim Janik 2000-07-11 00:49:09 +00:00 committed by Tim Janik
parent f8b6715ab1
commit 685733cf0d
3 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Tue Jul 11 02:48:13 2000 Tim Janik <timj@gtk.org>
* gtype.[hc]: removed g_type_is_dynamic() and added g_type_get_plugin().
2000-07-10 Tor Lillqvist <tml@iki.fi>
* gobject-query.c: Include ../config.h for HAVE_UNISTD_H. Use it

View File

@ -1855,9 +1855,8 @@ g_type_check_flags (GType type,
return FALSE;
}
gboolean
g_type_is_dynamic (GType type,
GTypeFlags flags)
GTypePlugin*
g_type_get_plugin (GType type)
{
TypeNode *node = LOOKUP_TYPE_NODE (type);

View File

@ -308,8 +308,6 @@ gboolean g_type_instance_conforms_to (GTypeInstance *instance,
GType iface_type);
gboolean g_type_check_flags (GType type,
GTypeFlags flags);
gboolean g_type_is_dynamic (GType type,
GTypeFlags flags);
GTypeInstance* g_type_create_instance (GType type);
void g_type_free_instance (GTypeInstance *instance);
GTypeValueTable* g_type_value_table_peek (GType type);
@ -318,6 +316,7 @@ void g_type_add_class_cache_func (gpointer cache_data,
void g_type_remove_class_cache_func (gpointer cache_data,
GTypeClassCacheFunc cache_func);
void g_type_class_unref_uncached (gpointer g_class);
GTypePlugin* g_type_get_plugin (GType type);
#ifndef G_DISABLE_CAST_CHECKS