summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2013-02-03 10:50:21 -0500
committerJasper St. Pierre <jstpierre@mecheye.net>2013-02-07 04:29:14 -0500
commitb714353e38cf72b6cb2754d413b3688a47624028 (patch)
treef14a682d4f9a547c7410a3a3317f4bc2c3f17ea4 /tests/scanner/foo.h
parentbb1ac9cf2dc450c5d44b1e39e3162ba06069f4a1 (diff)
downloadgobject-introspection-b714353e38cf72b6cb2754d413b3688a47624028.tar.gz
tests: Move do_moo to warnlib
We want to warn on unnamed params in declarations to ensure that all functions are bindable. Thus, we need to move a test containing unnamed params to WarnLib so it can be tested. https://bugzilla.gnome.org/show_bug.cgi?id=693098
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 20c92eb8..e097560e 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -76,16 +76,12 @@ struct _RegressFooSubInterfaceIface
void (*do_bar) (RegressFooSubInterface *self);
- /* explicitly test un-named parameters */
- void (*do_moo) (RegressFooSubInterface *self, int, gpointer);
-
void (*do_baz) (RegressFooSubInterface *self, GCallback callback, gpointer user_data);
};
GType regress_foo_sub_interface_get_type (void) G_GNUC_CONST;
void regress_foo_sub_interface_do_bar (RegressFooSubInterface *self);
-void regress_foo_sub_interface_do_moo (RegressFooSubInterface *self, int, gpointer);
void regress_foo_sub_interface_do_baz (RegressFooSubInterface *self,
GCallback callback,
gpointer user_data);