summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/gimarshallingtests.c10
-rw-r--r--tests/gimarshallingtests.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 41f86206..7c922d4f 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -1514,6 +1514,16 @@ gi_marshalling_tests_array_zero_terminated_return (void)
}
/**
+ * gi_marshalling_tests_array_zero_terminated_return_null:
+ * Returns: (array zero-terminated=1) (transfer none):
+ */
+gchar **
+gi_marshalling_tests_array_zero_terminated_return_null (void)
+{
+ return NULL;
+}
+
+/**
* gi_marshalling_tests_array_zero_terminated_return_struct:
* Returns: (array zero-terminated=1) (transfer full):
*/
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index b9d5093d..0ad0569e 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -395,6 +395,7 @@ void gi_marshalling_tests_array_inout_etc (gint first, gint **ints, gint *length
/* Zero-terminated */
gchar **gi_marshalling_tests_array_zero_terminated_return (void);
+gchar **gi_marshalling_tests_array_zero_terminated_return_null (void);
GIMarshallingTestsBoxedStruct **gi_marshalling_tests_array_zero_terminated_return_struct (void);
void gi_marshalling_tests_array_zero_terminated_in (gchar **utf8s);