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 669593 - No support for CCode since=X.X and GI version="X.X"
No support for CCode since=X.X and GI version="X.X"
Status: RESOLVED DUPLICATE of bug 678912
Product: vala
Classification: Core
Component: general
0.15.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-07 18:23 UTC by Daniel Espinosa
Modified: 2013-03-21 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Espinosa 2012-02-07 18:23:08 UTC
Vala's attribute CCode doesn't include a "since" property, useful to set GObject Introspection "version" property for methods.

Example:

class Gda.Numeric {
   [CCode since=5.0.2]
   public void set_double (double val);
}

Can be parsed to GIR as:

<record name="Numeric"
            c:type="GdaNumeric"
[...]
 <method name="set_double"
              c:identifier="gda_numeric_set_double"
              version="5.0.2">
[...]
Comment 1 Evan Nemerson 2013-03-21 08:34:04 UTC

*** This bug has been marked as a duplicate of bug 678912 ***