summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-06-23 17:51:15 -0400
committerColin Walters <walters@verbum.org>2009-06-23 17:58:38 -0400
commit8ef942ed56236380cbc9acc445926bfa534cc58a (patch)
tree69ac42a0e9f5b8e33926dc98505cd2fedea91d08 /tests/scanner/annotation.c
parentfeee5b3fa9f79b3085388e181d5f6473749d84b8 (diff)
downloadgobject-introspection-8ef942ed56236380cbc9acc445926bfa534cc58a.tar.gz
Bug 579008 - Don't override element-type for arrays
Annotation parser patch from: Tim Horton <hortont424@gmail.com> If an explicit element type is specified, don't override it with guint8.
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 5c5d46d4..058d508a 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -601,6 +601,16 @@ annotation_versioned (void)
}
/**
+ * annotation_string_array_length:
+ * @n_properties:
+ * @properties: (array length=n_properties) (element-type utf8):
+ */
+void
+annotation_string_array_length (guint n_properties, const gchar * const properties[])
+{
+}
+
+/**
* annotation_object_extra_annos:
*
* Attributes: (org.foobar testvalue)