summaryrefslogtreecommitdiff
path: root/giscanner/girwriter.py
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-07-10 13:59:23 -0700
committerEvan Nemerson <evan@coeus-group.com>2012-07-10 14:52:25 -0700
commit368d72e61740cb318647296ff39495ad32fbe4d3 (patch)
tree0f3feae12f141aebad406ec077f8a068276124e2 /giscanner/girwriter.py
parentf77cfc4275b1fba4f9fedea6e40b00e0ebbe142c (diff)
downloadgobject-introspection-368d72e61740cb318647296ff39495ad32fbe4d3.tar.gz
scanner: support stability tag
https://bugzilla.gnome.org/show_bug.cgi?id=679160
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r--giscanner/girwriter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py
index cb13d21f..0f5c7002 100644
--- a/giscanner/girwriter.py
+++ b/giscanner/girwriter.py
@@ -145,6 +145,8 @@ and/or use gtk-doc annotations. ''')
if node.deprecated_version:
attrs.append(('deprecated-version',
node.deprecated_version))
+ if node.stability:
+ attrs.append(('stability', node.stability))
def _append_throws(self, func, attrs):
if func.throws: