diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-02 09:10:30 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-02 09:12:29 -0300 |
commit | b6fb70f9b867d3ae4100e295d7c4dbb17293e8ed (patch) | |
tree | 42c3c3570acbdd38cfb5bcd172af6e0ae6346536 /tests/scanner/foo.h | |
parent | d97f1cdf1fd0064f5ec4251f9a1c0335bb808455 (diff) | |
download | gobject-introspection-b6fb70f9b867d3ae4100e295d7c4dbb17293e8ed.tar.gz |
[scanner] Allow nameless parameters for vfuncs
Add a test case and disable fatal warnings since there's
currently no way to avoid the warning(s)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=628567
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r-- | tests/scanner/foo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h index 8687c940..6b65e1e9 100644 --- a/tests/scanner/foo.h +++ b/tests/scanner/foo.h @@ -67,11 +67,16 @@ struct _FooSubInterfaceIface /* virtual table */ void (*do_bar) (FooSubInterface *self); + + void (*do_baz) (FooSubInterface *, GCallback, gpointer); }; GType foo_sub_interface_get_type (void) G_GNUC_CONST; void foo_sub_interface_do_bar (FooSubInterface *self); +void foo_sub_interface_do_baz (FooSubInterface *self, + GCallback callback, + gpointer data); struct _FooObject { |