[gobject-introspection] Add test vfunc for testing out args in callbacks



commit b71b428629824ee2a66a229600521781d3e39dea
Author: Tomeu Vizoso <tomeu sugarlabs org>
Date:   Wed May 5 17:59:22 2010 +0200

    Add test vfunc for testing out args in callbacks

 gir/gimarshallingtests.c |   20 ++++++++++++++++++++
 gir/gimarshallingtests.h |    8 ++++++++
 2 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index 0a8b794..53aeb5b 100644
--- a/gir/gimarshallingtests.c
+++ b/gir/gimarshallingtests.c
@@ -3046,6 +3046,16 @@ g_i_marshalling_tests_object_method_int8_in (GIMarshallingTestsObject *self, gin
 }
 
 /**
+ * g_i_marshalling_tests_object_method_int8_out:
+ * @out: (out):
+ */
+void
+g_i_marshalling_tests_object_method_int8_out (GIMarshallingTestsObject *self, gint8 *out)
+{
+  G_I_MARSHALLING_TESTS_OBJECT_GET_CLASS (self)->method_int8_out (self, out);
+}
+
+/**
  * g_i_marshalling_tests_object_method_with_default_implementation:
  * @in: (in):
  */
@@ -3191,6 +3201,16 @@ g_i_marshalling_tests__object_int8_in (GIMarshallingTestsObject *object, gint8 i
   g_i_marshalling_tests_object_method_int8_in (object, in);
 }
 
+/**
+ * g_i_marshalling_tests__object_test_int8_out:
+ * @out: (out):
+ */
+void
+g_i_marshalling_tests__object_int8_out (GIMarshallingTestsObject *object, gint8 *out)
+{
+  g_i_marshalling_tests_object_method_int8_out (object, out);
+}
+
 
 G_DEFINE_TYPE (GIMarshallingTestsSubObject, g_i_marshalling_tests_sub_object, G_I_MARSHALLING_TESTS_TYPE_OBJECT);
 
diff --git a/gir/gimarshallingtests.h b/gir/gimarshallingtests.h
index dd41866..deb33e5 100644
--- a/gir/gimarshallingtests.h
+++ b/gir/gimarshallingtests.h
@@ -558,6 +558,12 @@ struct _GIMarshallingTestsObjectClass
     void (* method_int8_in) (GIMarshallingTestsObject *self, gint8 in);
 
     /**
+     * GIMarshallingTestsObjectClass::method_int8_out:
+     * @out: (out):
+     */
+    void (* method_int8_out) (GIMarshallingTestsObject *self, gint8 *out);
+
+    /**
      * GIMarshallingTestsObjectClass::method_with_default_implementation:
      * @in: (in):
      */
@@ -583,6 +589,7 @@ void g_i_marshalling_tests_object_method_array_inout (GIMarshallingTestsObject *
 const gint *g_i_marshalling_tests_object_method_array_return (GIMarshallingTestsObject *object, gint *length);
 
 void g_i_marshalling_tests_object_method_int8_in (GIMarshallingTestsObject *object, gint8 in);
+void g_i_marshalling_tests_object_method_int8_out (GIMarshallingTestsObject *object, gint8 *out);
 void g_i_marshalling_tests_object_method_with_default_implementation (GIMarshallingTestsObject *object, gint8 in);
 
 
@@ -600,6 +607,7 @@ void g_i_marshalling_tests__object_full_inout (GIMarshallingTestsObject **object
 void g_i_marshalling_tests__object_inout_same (GIMarshallingTestsObject **object);
 
 void g_i_marshalling_tests__object_int8_in (GIMarshallingTestsObject *object, gint8 in);
+void g_i_marshalling_tests__object_int8_out (GIMarshallingTestsObject *object, gint8 *out);
 
 #define G_I_MARSHALLING_TESTS_TYPE_SUB_OBJECT             (g_i_marshalling_tests_sub_object_get_type ())
 #define G_I_MARSHALLING_TESTS_SUB_OBJECT(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_I_MARSHALLING_TESTS_TYPE_SUB_OBJECT, GIMarshallingTestsSubObject))



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