Top | ![]() |
![]() |
![]() |
![]() |
#define | GI_IS_STRUCT_INFO() |
gsize | g_struct_info_get_alignment () |
gsize | g_struct_info_get_size () |
gboolean | g_struct_info_is_gtype_struct () |
gboolean | g_struct_info_is_foreign () |
gint | g_struct_info_get_n_fields () |
GIFieldInfo * | g_struct_info_get_field () |
gint | g_struct_info_get_n_methods () |
GIFunctionInfo * | g_struct_info_get_method () |
GIFunctionInfo * | g_struct_info_find_method () |
gsize
g_struct_info_get_alignment (GIStructInfo *info
);
Obtain the required alignment of the structure.
gsize
g_struct_info_get_size (GIStructInfo *info
);
Obtain the total size of the structure.
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.
gint
g_struct_info_get_n_fields (GIStructInfo *info
);
Obtain the number of fields this structure has.
GIFieldInfo * g_struct_info_get_field (GIStructInfo *info
,gint n
);
Obtain the type information for field with specified index.
gint
g_struct_info_get_n_methods (GIStructInfo *info
);
Obtain the number of methods this structure has.
GIFunctionInfo * g_struct_info_get_method (GIStructInfo *info
,gint n
);
Obtain the type information for method with specified index.
GIFunctionInfo * g_struct_info_find_method (GIStructInfo *info
,const gchar *name
);
Obtain the type information for method named name
.