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 755882 - Don't generate _autoptr aliases
Don't generate _autoptr aliases
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: g-ir-scanner
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-09-30 14:15 UTC by Ben
Modified: 2015-10-11 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-transformer-Strip-out-GLib-_autoptr-typedefs.patch (985 bytes, patch)
2015-10-10 22:09 UTC, Colin Walters
accepted-commit_now Details | Review

Description Ben 2015-09-30 14:15:48 UTC
https://developer.gnome.org/glib/unstable/glib-Miscellaneous-Macros.html#g-autoptr

It's for C only, and doesn't apply to Vala/Python/JS/etc, so I think they should be skipped when generating gir
Comment 1 Giovanni Campagna 2015-10-10 21:13:44 UTC
Does it matter to the bindings that they are there? Is it about docs?
Comment 2 Ben 2015-10-10 21:41:11 UTC
For Vala it shows up in http://valadoc.org and GNOME Builder's autocompletion
Comment 3 Colin Walters 2015-10-10 22:09:33 UTC
Created attachment 313033 [details] [review]
0001-transformer-Strip-out-GLib-_autoptr-typedefs.patch
Comment 4 Ben 2015-10-10 23:41:52 UTC
do we need tests?
Comment 5 Giovanni Campagna 2015-10-11 13:56:52 UTC
Review of attachment 313033 [details] [review]:

LGTM

Given that it's only a doc problem, I don't think tests should be a blocker.