summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2010-04-17 18:27:57 -0400
committerTomeu Vizoso <tomeu@sugarlabs.org>2010-04-17 18:27:57 -0400
commit2fa66ff7cfc0483efd65232238ce147eb72a37cc (patch)
tree62ad097e23aee3d24f65e80230bd003254415946 /gir
parent7b6656e2f39d88671758dbf0775688fc53660936 (diff)
downloadgobject-introspection-2fa66ff7cfc0483efd65232238ce147eb72a37cc.tar.gz
Add tests for vfuncs in interfaces
Diffstat (limited to 'gir')
-rw-r--r--gir/gimarshallingtests.c20
-rw-r--r--gir/gimarshallingtests.h10
2 files changed, 30 insertions, 0 deletions
diff --git a/gir/gimarshallingtests.c b/gir/gimarshallingtests.c
index f631173f..0f576a82 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 fc75aa26..e5fe949c 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 */