Add a test function with an out argument and some other after that
[gnome.gobject-introspection] / gir / everything.c
index f968bbe..6c394e8 100644 (file)
@@ -257,6 +257,19 @@ GSList *test_filename_return (void)
   return filenames;
 }
 
+/* in arguments after out arguments */
+
+/**
+ * test_int_out_utf8:
+ * @out: (out):
+ * @in:
+ */
+void
+test_int_out_utf8 (int *length, const char *in)
+{
+    *length = g_utf8_strlen(in, -1);
+}
+
 
 /* multiple output arguments */