summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-05-23 20:38:55 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-05-23 20:41:36 +0200
commit1edeccd204ac39743523275cfc50639a63a949cb (patch)
treee20654f964adf5217dae06cd6f04bfd1301c3109 /tests/scanner/foo.h
parentf05406e92beede4357d74233d51aa3db45d709ae (diff)
Add support for the 'foreign' annotation to g-i-scannerGOBJECT_INTROSPECTION_0_6_12
https://bugzilla.gnome.org/show_bug.cgi?id=619450
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 0ebcca2..fb4bc5c 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -393,5 +393,12 @@ typedef enum {
} FooSkippable;
void foo_skip_me (FooSkippable fs);
+typedef struct _FooForeignStruct FooForeignStruct;
+
+struct _FooForeignStruct
+{
+ int foo;
+};
+
#endif /* __FOO_OBJECT_H__ */