[gobject-introspection] [tests] Add GIMarshallingTests function for multiple in and multiple out args.



commit ba7b286b5a3280308f447628c12a26e6079f0110
Author: Laszlo Pandy <lpandy src gnome org>
Date:   Fri Feb 18 00:11:30 2011 +0100

    [tests] Add GIMarshallingTests function for multiple in and multiple out args.

 tests/gimarshallingtests.c |   18 ++++++++++++++++++
 tests/gimarshallingtests.h |    4 ++--
 2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index cf2827b..069d46e 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -3231,6 +3231,24 @@ gi_marshalling_tests_int_out_out (gint *int0, gint *int1)
 }
 
 /**
+ * gi_marshalling_tests_int_three_in_three_out:
+ * @a: (in):
+ * @b: (in):
+ * @c: (in):
+ * @out0: (out):
+ * @out1: (out):
+ * @out2: (out):
+ */
+void
+gi_marshalling_tests_int_three_in_three_out(gint a, gint b, gint c,
+                                            gint *out0, gint *out1, gint *out2)
+{
+    *out0 = a;
+    *out1 = b;
+    *out2 = c;
+}
+
+/**
  * gi_marshalling_tests_int_return_out:
  * @int_: (out):
  */
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index f17c747..9ad0ab0 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -701,9 +701,9 @@ GType gi_marshalling_tests_interface2_get_type (void) G_GNUC_CONST;
 /* Multiple output arguments */
 
 void gi_marshalling_tests_int_out_out (gint *int0, gint *int1);
-void gi_marshalling_tests_int_out_in (gint *int0, gint int1);
+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_);
-void gi_marshalling_tests_utf8_full_out_out (gchar **utf80, gchar **utf82);
 
 
 /* GError */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]