G-Golf Struct Info low level API.
GIStructInfo — Structs representing a C structure.
GIBaseInfo
+— GIRegisteredTypeInfo
+— GIStructInfo
GIStructInfo
represents a generic C strucuture type.
A structure has methods and fields.
Note: in this section, unless otherwise specified, the info
argument is [must be] a pointer to a GIStructInfo
.
Returns a <gi-struct>
instance.
Obtains the list of (field) types the C struct GI definition pointed by
info contains, then makes and returns a <gi-struct>
instance.
Returns a list.
Obtains and returns the list of (field) descriptions for info. A
field description is a list: (name type-tag offset flags)
.
Returns a list.
Obtains and returns the list of (field) types the C struct GI definition pointed by info contains.
Returns an integer.
Obtains and returns the required alignment for info.
Returns an integer.
Obtains and returns the total size of the structure specified info.
Returns #t or #f.
Return true if the structure specified by info represents the "class structure" for some GObject or GInterface.
Returns #t or #f.
FIXME. No upstream documentation, though the procedure works.
Returns an integer.
Obtains the number of fields for info.
Returns a pointer.
Obtains and returns the info type information (a pointer to a
GIFieldInfo
) for the field at the specified n index.
The GIFieldInfo
must be freed by calling g-base-info-unref
when done.
Returns an integer.
Obtains the number of methods for info.
Returns a pointer.
Obtains and returns the info type information (a pointer to a
GIFunctionInfo
) for the method at the specified n index.
The GIFunctionInfo
must be freed by calling
g-base-info-unref when done.