Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-25 23:43:14 (GMT)
committer Colin Walters <walters@verbum.org>2009-02-26 19:07:21 (GMT)
commit4470a24e8cf3827efaddcfe240c3271cf1a0d6c0 (patch)
tree4bbcd76c1c325c403ec0408a81489ab97c5465f0 /tests/scanner/foo.h
parent251de52b083d3e0e42f25cb164a46865c2c2b9a9 (diff)
Bug 557383 - Virtual function support
In order to determine whether a method is virtual, by default we look at the class table to find a callback field. This should be fairly reliable, but we may also later need annotations to more finely control this in the case of a name clash with a signal.
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index da30df3..2eeed6d 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -48,11 +48,13 @@ struct _FooInterfaceIface
{
GTypeInterface parent_iface;
- void (*do_foo) (FooInterface *self);
+ void (*do_foo) (FooInterface *self, int x);
};
GType foo_interface_get_type (void) G_GNUC_CONST;
+void foo_interface_do_foo (FooInterface *iface, int x);
+
struct _FooSubInterfaceIface
{
GTypeInterface parent_iface;
@@ -105,6 +107,8 @@ char * foo_object_dup_name (FooObject *object);
void foo_object_handle_glyph (FooObject *object, UtilityGlyph glyph);
+void foo_object_virtual_method (FooObject *object, int first_param);
+
int foo_object_static_meth ();
struct _FooSubobject