diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-17 18:27:57 -0400 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-17 18:27:57 -0400 |
commit | 2fa66ff7cfc0483efd65232238ce147eb72a37cc (patch) | |
tree | 62ad097e23aee3d24f65e80230bd003254415946 /gir | |
parent | 7b6656e2f39d88671758dbf0775688fc53660936 (diff) | |
download | gobject-introspection-2fa66ff7cfc0483efd65232238ce147eb72a37cc.tar.gz |
Add tests for vfuncs in interfaces
Diffstat (limited to 'gir')
-rw-r--r-- | gir/gimarshallingtests.c | 20 | ||||
-rw-r--r-- | gir/gimarshallingtests.h | 10 |
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 */ |