summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-07-27 17:54:59 -0700
committerSimon Feltman <sfeltman@src.gnome.org>2013-09-26 04:22:04 -0700
commita19bfeb4da53825ad960c9e33306b9437a22c4f6 (patch)
treef6cc5a99a288712c9ec1ec40df75b9f237efc25e /tests/gimarshallingtests.h
parent3a050a9cab63eef09f90015a12c828aa621198cb (diff)
downloadgobject-introspection-a19bfeb4da53825ad960c9e33306b9437a22c4f6.tar.gz
gimarshalingtests: Add tests for multiple utf8 args with allow-none
Add test function which accepts multiple allow-none utf8 arguments. This can be used for testing a default of NULL for unsupplied arguments annotated with allow-none. https://bugzilla.gnome.org/show_bug.cgi?id=640812
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r--tests/gimarshallingtests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index 3b436f0c..e308db64 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -1047,6 +1047,8 @@ void gi_marshalling_tests_int_three_in_three_out(gint a, gint b, gint c,
gint *out0, gint *out1, gint *out2);
gint gi_marshalling_tests_int_return_out (gint *int_);
+/* Default arguments */
+void gi_marshalling_tests_int_two_in_utf8_two_in_with_allow_none (gint a, gint b, const gchar *c, const gchar *d);
/* GError */