Skip to content

Improve introspection annotation for extension modules

Emmanuele Bassi raised some points about the current introspection files for extension modules in a discussion with me on Discourse. This PR implements the two changes he suggested, namely:

  • Fix the implicit (transfer full) in favour of (transfer none) for a module's type list; and
  • Mark all three extension entry points as non-introspectable (via (skip)) since they're not part of the API.

I've tested this locally and the generated Nautilus.gir file seems to pick up the changes correctly.

Edited by Aaron Jacobs

Merge request reports