summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-11-22 12:49:37 -0500
committerDan Winship <danw@gnome.org>2009-11-23 11:07:29 -0500
commit91cc82321e38febd65cd79ecaef2850b475f8ff2 (patch)
tree06c8f31e972f71e41b530ae2b301ccf3b581b228 /tests/scanner/foo.h
parentab127091d84336a851e0cec9cfdd0435065d9e2a (diff)
downloadgobject-introspection-91cc82321e38febd65cd79ecaef2850b475f8ff2.tar.gz
Make (skip) annotation work everywhere
Previously it only worked for toplevel nodes. Now it works for any node except <field>, since skipping a field would cause the description of the struct layout to be wrong. https://bugzilla.gnome.org/show_bug.cgi?id=602652
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 199d57a0..b8f88a78 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -125,6 +125,8 @@ void foo_object_read (FooObject *object, int offse
int foo_object_static_meth (void);
+void foo_object_skipped_method (FooObject *object);
+
struct _FooSubobject
{
FooObject parent_instance;