GNOME Bugzilla – Bug 629668
(skip) annotation ignored on typedefs
Last modified: 2015-02-07 16:53:06 UTC
I'm working on fixing the tp-glib introspection stuff to work with g-i master (fdo#30134), and I've come up against the following problem. I have this code in an (introspected) C file, catering for the rename of TpIntSet → TpIntset (as all the methods are prefixed "tp_intset_"): typedef struct _TpIntset TpIntset; /* See fdo#30134 for the reasoning behind the rename of TpIntSet to TpIntset */ /** * TpIntSet: (skip) * * Before 0.11.UNRELEASED, this was the name for <type>TpIntset</type>, but it's * now just a backwards compatibility typedef. */ typedef TpIntset TpIntSet; We're (skip)ing TpIntSet to avoid bug #629649 in vapigen. However, g-ir-scanner seems to ignore the (skip) annotation and the following <alias> element still makes its way into the GIR file: <alias name="IntSet" c:type="TpIntSet"> <type name="Intset" c:type="TpIntset"/> </alias> which causes vapigen pain and discomfort.
I'm on this.
commit 53b4da85dcb49d1fd3dc5e4033e476119653b214 Author: Colin Walters <walters@verbum.org> Date: Tue Sep 14 12:23:59 2010 -0400 scanner: Parse annotations for typedefs * Explicitly check for ast.Alias in annotation pass * Add "generic" attribs handling for aliases like docs, introspectable=0 etc. https://bugzilla.gnome.org/show_bug.cgi?id=629668
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]