summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gimarshallingtests.c')
-rw-r--r--tests/gimarshallingtests.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index dec04387..3eb6e075 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -2945,6 +2945,16 @@ gi_marshalling_tests_gvalue_in (GValue *value)
}
/**
+ * gi_marshalling_tests_gvalue_int64_in:
+ * @value: (transfer none):
+ */
+void
+gi_marshalling_tests_gvalue_int64_in (GValue *value)
+{
+ g_assert_cmpint(g_value_get_int64(value), ==, G_MAXINT64);
+}
+
+/**
* gi_marshalling_tests_gvalue_in_with_type:
* @value: (transfer none):
* @type:
@@ -2984,6 +2994,24 @@ gi_marshalling_tests_gvalue_out (GValue **value)
}
/**
+ * gi_marshalling_tests_gvalue_int64_out:
+ * @value: (out) (transfer none):
+ */
+void
+gi_marshalling_tests_gvalue_int64_out (GValue **value)
+{
+ static GValue *new_value = NULL;
+
+ if (new_value == NULL) {
+ new_value = g_new0(GValue, 1);
+ g_value_init(new_value, G_TYPE_INT64);
+ g_value_set_int64(new_value, G_MAXINT64);
+ }
+
+ *value = new_value;
+}
+
+/**
* gi_marshalling_tests_gvalue_out_caller_allocates:
* @value: (out) (transfer none):
*/