Top |
Functions
Functions
g_struct_info_find_field ()
GIFieldInfo * g_struct_info_find_field (GIStructInfo *info
,const gchar *name
);
Obtain the type information for field named name
.
Returns
the GIFieldInfo or NULL
if not found,
free it with g_base_info_unref()
when done.
[transfer full]
Since: 1.46
g_struct_info_get_alignment ()
gsize
g_struct_info_get_alignment (GIStructInfo *info
);
Obtain the required alignment of the structure.
g_struct_info_get_size ()
gsize
g_struct_info_get_size (GIStructInfo *info
);
Obtain the total size of the structure.
g_struct_info_is_gtype_struct ()
gboolean
g_struct_info_is_gtype_struct (GIStructInfo *info
);
Return true if this structure represents the "class structure" for some GObject or GInterface. This function is mainly useful to hide this kind of structure from generated public APIs.
g_struct_info_get_n_fields ()
gint
g_struct_info_get_n_fields (GIStructInfo *info
);
Obtain the number of fields this structure has.
g_struct_info_get_field ()
GIFieldInfo * g_struct_info_get_field (GIStructInfo *info
,gint n
);
Obtain the type information for field with specified index.
g_struct_info_get_n_methods ()
gint
g_struct_info_get_n_methods (GIStructInfo *info
);
Obtain the number of methods this structure has.
g_struct_info_get_method ()
GIFunctionInfo * g_struct_info_get_method (GIStructInfo *info
,gint n
);
Obtain the type information for method with specified index.
g_struct_info_find_method ()
GIFunctionInfo * g_struct_info_find_method (GIStructInfo *info
,const gchar *name
);
Obtain the type information for method named name
.