After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 571348 - [annotation] getters & setters
[annotation] getters & setters
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: g-ir-scanner
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 559704
 
 
Reported: 2009-02-11 20:56 UTC by Colin Walters
Modified: 2018-02-08 11:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Walters 2009-02-11 20:56:34 UTC
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".
Comment 1 André Klapper 2015-02-07 17:14:49 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
Comment 2 GNOME Infrastructure Team 2018-02-08 11:48:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/13.