Top |
#define | GI_IS_REGISTERED_TYPE_INFO() |
const gchar * | g_registered_type_info_get_type_name () |
const gchar * | g_registered_type_info_get_type_init () |
GType | g_registered_type_info_get_g_type () |
GIRegisteredTypeInfo represents an entity with a GType associated.
Could be either a GIEnumInfo, GIInterfaceInfo, GIObjectInfo, GIStructInfo or a GIUnionInfo.
A registered type info struct has a name and a type function.
To get the name call g_registered_type_info_get_type_name()
.
Most users want to call g_registered_type_info_get_g_type()
and don't worry
about the rest of the details.
#define GI_IS_REGISTERED_TYPE_INFO(info)
Checks if info
is a GIRegisteredTypeInfo or derived from it.
const gchar *
g_registered_type_info_get_type_name (GIRegisteredTypeInfo *info
);
Obtain the type name of the struct within the GObject type system.
This type can be passed to g_type_name()
to get a GType.
const gchar *
g_registered_type_info_get_type_init (GIRegisteredTypeInfo *info
);
Obtain the type init function for info
. The type init function is the
function which will register the GType within the GObject type system.
Usually this is not called by langauge bindings or applications, use
g_registered_type_info_get_g_type()
directly instead.
GType
g_registered_type_info_get_g_type (GIRegisteredTypeInfo *info
);
Obtain the GType for this registered type or G_TYPE_NONE which a special meaning.
It means that either there is no type information associated with this info
or
that the shared library which provides the type_init function for this
info
cannot be called.