summaryrefslogtreecommitdiff
path: root/tests/scanner/annotation.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2011-08-13 14:36:53 -0300
committerJohan Dahlin <jdahlin@litl.com>2011-08-13 14:36:53 -0300
commit81abc2eb63317003a11d1484e84698a37e8ec035 (patch)
tree624a3ccaf080c0b41b661b116238d7a0543f8c9c /tests/scanner/annotation.c
parenta8b700e2d9c7b63bd351f4194820680f4da3da8a (diff)
downloadgobject-introspection-81abc2eb63317003a11d1484e84698a37e8ec035.tar.gz
Try harder to preserve c:type
When we replace a type using annotation we should keep the ctype of the original type.
Diffstat (limited to 'tests/scanner/annotation.c')
-rw-r--r--tests/scanner/annotation.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scanner/annotation.c b/tests/scanner/annotation.c
index 29036b3c..07e5a349 100644
--- a/tests/scanner/annotation.c
+++ b/tests/scanner/annotation.c
@@ -811,3 +811,14 @@ void
annotation_space_after_comment_bug631690 (void)
{
}
+
+/**
+ * annotation_return_filename
+ *
+ * Returns: (type filename): An annotated filename
+ */
+gchar*
+annotation_return_filename (void)
+{
+ return "a utf-8 filename";
+}