summaryrefslogtreecommitdiff
path: root/tests/scanner/Foo-1.0-expected.gir
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-08-03 13:01:35 -0400
committerColin Walters <walters@verbum.org>2010-08-31 16:05:56 -0400
commitabc4e514ff46ed77159b19f56dea54eeef8bc909 (patch)
treec72971e270139c35739b651bb91b35bf2b66b783 /tests/scanner/Foo-1.0-expected.gir
parentf58c9cd835c6e5077496ea4abf18ecd8907c3288 (diff)
downloadgobject-introspection-abc4e514ff46ed77159b19f56dea54eeef8bc909.tar.gz
Move alias target to <type>
This makes type parsing more uniform. Delete the typedef for GSList in foo.h - that's not supported anymore, or at least for now.
Diffstat (limited to 'tests/scanner/Foo-1.0-expected.gir')
-rw-r--r--tests/scanner/Foo-1.0-expected.gir19
1 files changed, 6 insertions, 13 deletions
diff --git a/tests/scanner/Foo-1.0-expected.gir b/tests/scanner/Foo-1.0-expected.gir
index 4007d96a..e14d3c80 100644
--- a/tests/scanner/Foo-1.0-expected.gir
+++ b/tests/scanner/Foo-1.0-expected.gir
@@ -16,9 +16,12 @@ and/or use gtk-doc annotations. -->
version="1.0"
shared-library="libfoo.so"
c:prefix="Foo">
- <alias name="List" target="GLib.SList" c:type="FooList"/>
- <alias name="ObjectCookie" target="any" c:type="FooObjectCookie"/>
- <alias name="XEvent" target="none" c:type="FooXEvent"/>
+ <alias name="ObjectCookie" c:type="FooObjectCookie">
+ <type name="any"/>
+ </alias>
+ <alias name="XEvent" c:type="FooXEvent">
+ <type name="none"/>
+ </alias>
<enumeration name="ASingle" c:type="FooASingle">
<member name="some_single_enum"
value="0"
@@ -379,16 +382,6 @@ uses a C sugar return type.</doc>
</parameter>
</parameters>
</method>
- <method name="with_tdef" c:identifier="foo_object_with_tdef">
- <return-value transfer-ownership="none">
- <type name="none" c:type="void"/>
- </return-value>
- <parameters>
- <parameter name="blah" transfer-ownership="none">
- <type name="List" c:type="FooList*"/>
- </parameter>
- </parameters>
- </method>
<method name="new_cookie" c:identifier="foo_object_new_cookie">
<return-value transfer-ownership="full">
<type name="ObjectCookie" c:type="FooObjectCookie"/>