[gobject-introspection] Add tests for vfuncs in interfaces



commit 2fa66ff7cfc0483efd65232238ce147eb72a37cc
Author: Tomeu Vizoso <tomeu sugarlabs org>
Date:   Sat Apr 17 18:27:57 2010 -0400

    Add tests for vfuncs in interfaces

 gir/gimarshallingtests.c |   20 ++++++++++++++++++++
 gir/gimarshallingtests.h |   10 ++++++++++
 2 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index f631173..0f576a8 100644
--- a/gir/gimarshallingtests.c
+++ b/gir/gimarshallingtests.c
@@ -2793,6 +2793,26 @@ g_i_marshalling_tests_interface_get_type(void)
     return type;
 }
 
+/**
+ * g_i_marshalling_tests_interface_test_int8_in:
+ * @in: (in):
+ */
+void
+g_i_marshalling_tests_interface_test_int8_in (GIMarshallingTestsInterface *self, gint8 in)
+{
+  G_I_MARSHALLING_TESTS_INTERFACE_GET_IFACE (self)->test_int8_in (self, in);
+}
+
+/**
+ * g_i_marshalling_tests_test_interface_test_int8_in:
+ * @in: (in):
+ */
+void
+g_i_marshalling_tests_test_interface_test_int8_in (GIMarshallingTestsInterface *test_iface, gint8 in)
+{
+  g_i_marshalling_tests_interface_test_int8_in (test_iface, in);
+}
+
 
 /**
  * g_i_marshalling_tests_int_out_out:
diff --git a/gir/gimarshallingtests.h b/gir/gimarshallingtests.h
index fc75aa2..e5fe949 100644
--- a/gir/gimarshallingtests.h
+++ b/gir/gimarshallingtests.h
@@ -566,10 +566,20 @@ typedef struct _GIMarshallingTestsInterfaceIface GIMarshallingTestsInterfaceIfac
 
 struct _GIMarshallingTestsInterfaceIface {
     GTypeInterface base_iface;
+
+    /**
+     * GIMarshallingTestsInterfaceIface::test_int8_in:
+     * @in: (in):
+     */
+    void (* test_int8_in) (GIMarshallingTestsInterface *self, gint8 in);
 };
 
 GType g_i_marshalling_tests_interface_get_type (void) G_GNUC_CONST;
 
+void g_i_marshalling_tests_interface_test_int8_in (GIMarshallingTestsInterface *self, gint8 in);
+
+void g_i_marshalling_tests_test_interface_test_int8_in (GIMarshallingTestsInterface *test_iface, gint8 in);
+
 
 /* Multiple output arguments */
 



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