[annotation] getters & setters
Submitted by Colin Walters
Link to original bug (#571348)
Description
We should have an annotation for a function which is conceptually just the C linkage wrapper for a GObject property.
The typelib already has flags for this (GI_FUNCTION_IS_GETTER, GI_FUNCTION_IS_SETTER), we just need .gir support and annotations.
An open question is whether we want to try to determine this automatically; e.g. always assume foo_get_some_property is a getter for the GObject "some-property".
Blocking
Edited by Corentin Noël