+2008-11-12 Johan Dahlin <jdahlin@async.com.br>
+
+ * tests/everything/gitesttypes.c (test_filename_return):
+ * tests/everything/gitesttypes.h:
+ Add a filename return test.
+
2008-11-12 Tommi Komulainen <tommi.komulainen@iki.fi>
* tests/offsets/Makefile.am (gitestoffsets.c): fix
return utf8_const;
}
-/** test_utf8_nonconst_return:
+/** test_utf8_nonconst_return:8
* Return value: <char*> UTF-8 string
*/
char *test_utf8_nonconst_return (void)
}
#endif
-/* filename? */
+/**
+ * test_filename_return:
+ *
+ * Return value: (element-type filename) (transfer none): list of strings
+ */
+GSList *test_filename_return (void)
+{
+ GSList *filenames = NULL;
+ filenames = g_slist_prepend (filenames, "/etc/fstab");
+ return filenames;
+}
+
/* non-basic-types */
static const char *test_sequence[] = {"1", "2", "3"};
void test_utf8_out (char **out);
void test_utf8_inout (char **inout);
#endif
-/* filename? */
+GSList *test_filename_return (void);
/* non-basic-types */
/* array */
gboolean test_strv_in (char **arr);