Skip to content

Allow proper introspection of GTypeValueTable

Emmanuele Bassi requested to merge ebassi/type-table-docs into main

The introspection scanner cannot deal very well with function pointers into a plain structure. In order to document the various function pointers in GTypeValueTable we need to create typed callbacks, and use them to replace the anonymous function pointers inside the structure. This not only allows us to properly document the function pointers, but it also allows us to annotate the arguments and return value of those function pointers.

See also: gobject-introspection!400 (comment 1721707)

Merge request reports