summaryrefslogtreecommitdiff
path: root/tests/scanner/regress.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r--tests/scanner/regress.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index ec6a187f..7e838d34 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -1333,6 +1333,22 @@ regress_test_garray_container_return (void)
return array;
}
+/**
+ * regress_test_garray_full_return:
+ *
+ * Returns: (transfer full) (type GLib.PtrArray) (element-type utf8):
+ */
+GPtrArray *
+regress_test_garray_full_return (void)
+{
+ GPtrArray *array;
+
+ array = g_ptr_array_new ();
+ g_ptr_array_add (array, g_strdup ("regress"));
+
+ return array;
+}
+
/************************************************************************/
/* error? */