Some items are missing or incomplete in the generated GIR
Seems to affect master and 0.3.96, since the docs change. Notably, wp_init
and WpInitFlags
and the other functions from wp/wp.h are not making it into the gir at all. Several other functions are not getting their doc comments moved into wp-gtkdoc.h and get flagged as non-introspectable, as noted by the build:
$ ninja -C build docs/Wp-0.4.gir
docs/wp-gtkdoc.h:196: Warning: Wp: wp_client_update_permissions_array: Unknown type: 'pw_permission'
../lib/wp/iterator.h:94: Warning: Wp: wp_iterator_new_ptr_array: argument items: Missing (element-type) annotation
../lib/wp/object.h:80: Warning: Wp: wp_object_get_core: return value: Missing (transfer) annotation
../lib/wp/plugin.h:45: Warning: Wp: wp_plugin_find: return value: Missing (transfer) annotation
../lib/wp/device.h:61: Warning: Wp: wp_spa_device_get_managed_object: return value: Missing (transfer) annotation
../lib/wp/spa-type.h:47: Warning: Wp: wp_spa_type_parent: return value: Missing (transfer) annotation
../lib/wp/si-interfaces.h:97: Warning: Wp: wp_si_linkable_get_acquisition: return value: Missing (transfer) annotation
../lib/wp/si-interfaces.h:126: Warning: Wp: wp_si_link_get_out_item: return value: Missing (transfer) annotation
../lib/wp/si-interfaces.h:129: Warning: Wp: wp_si_link_get_in_item: return value: Missing (transfer) annotation
../lib/wp/si-factory.h:46: Warning: Wp: wp_si_factory_find: return value: Missing (transfer) annotation
A full list of functions getting skipped can be seen by looking for introspectable="0"
in the gir file. It may make sense to expand gen-api-gtkdoc.py to pull the definitions from certain modules, as well as the files?