Show when a struct has a boxed type
Boxed types make C structs much more interesting to users:
- They can be used from bindings
- They can be properly exposed as GObject properties using
g_param_spec_boxed
(instead ofg_param_spec_pointer
) - They have at least one known free function (g_boxed_free), which might be useful for #61
- ...
It would be nice to show this in the generated page of the struct somehow (for example: GLib.DateTime
is a boxed type).
What this could look like:
- A section "Type characteristics" (like we have a section "Implements" for a class) which mentions that that is a boxed type
- Maybe extend this with the fact that this means it can be used by bindings / g_param_spec()
- Maybe link to the documentation of boxed types?
- An extra line after the usual "This is an opaque structure ..." which mentions that it is a boxed type