summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2008-12-09 00:07:08 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-12-09 00:07:08 +0000
commitc1eb0a1670b41ffaa254310284a025ddc25c11a1 (patch)
tree559da38d33d7d84a649f39d3b9f6625d239846b4 /tests/scanner/annotation.c
parent076bf783f0a4e1362f08cbc2dd986f85a8afaf5f (diff)
downloadgobject-introspection-c1eb0a1670b41ffaa254310284a025ddc25c11a1.tar.gz
Bug 563742 – introspection should record the introduced version of
2008-12-08 Tristan Van Berkom <tristan.van.berkom@gmail.com> Bug 563742 – introspection should record the introduced version of symbols marked with the "Since:" tag reviewed by: Johan * giscanner/ast.py: * giscanner/girwriter.py: * giscanner/scannerlexer.l: * giscanner/transformer.py: * tests/scanner/annotation-1.0-expected.gir: * tests/scanner/annotation-1.0-expected.tgir: * tests/scanner/annotation.c (annotation_versioned): * tests/scanner/annotation.h: svn path=/trunk/; revision=988
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r--tests/scanner/annotation.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index b19b5407..420a927c 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -350,5 +350,15 @@ annotation_return_array (int *length)
return NULL;
}
+/**
+ * annotation_versioned:
+ *
+ * Since: 0.6
+ **/
+void
+annotation_versioned (void)
+{
+}
+
static char backslash_parsing_tester_2 = '\\';