Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/scanner/foo.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-26 21:52:42 (GMT)
committer Colin Walters <walters@verbum.org>2009-02-26 21:52:42 (GMT)
commitca21c1ce6f2fa9f8be9307121ce27a46cc9c0ed0 (patch)
treebe25649d977e3daa4d461a5359b7cef677c94975 /tests/scanner/foo.c
parente49a883d0997127cd3a0ad7e522666f30190e792 (diff)
Revert "Bug 557383 - Virtual function support"
This reverts commit 4470a24e8cf3827efaddcfe240c3271cf1a0d6c0. Needs more work as it turns out, we need to figure out the binding story.
Diffstat (limited to 'tests/scanner/foo.c')
-rw-r--r--tests/scanner/foo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/scanner/foo.c b/tests/scanner/foo.c
index 98d2f4b..0488260 100644
--- a/tests/scanner/foo.c
+++ b/tests/scanner/foo.c
@@ -8,8 +8,8 @@ int foo_init_argv (int argc, char **argv);
int foo_init_argv_address (int *argc, char ***argv);
void foo_private_function (FooObject *foo);
void foo_test_unsigned (unsigned int uint);
-void foo_interface_do_foo (FooInterface *self, int x);
-void foo_do_foo (FooInterface *self, int x);
+void foo_interface_do_foo (FooInterface *self);
+void foo_do_foo (FooInterface *self);
int foo_enum_method (FooEnumType foo_enum);
FooHidden * foo_hidden_copy (const FooHidden *boxed);
void foo_hidden_free (FooHidden *boxed);
@@ -47,9 +47,9 @@ foo_interface_get_type (void)
return object_type;
}
-void foo_interface_do_foo (FooInterface *self, int x)
+void foo_interface_do_foo (FooInterface *self)
{
- FOO_INTERFACE_GET_INTERFACE(self)->do_foo (self, x);
+ FOO_INTERFACE_GET_INTERFACE(self)->do_foo (self);
}
enum {
@@ -191,7 +191,7 @@ foo_object_take_all (FooObject *object, int x, ...)
}
void
-foo_do_foo (FooInterface *self, int x)
+foo_do_foo (FooInterface *self)
{