summaryrefslogtreecommitdiff
path: root/tests/scanner/foo-1.0-expected.gir
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-12 17:40:08 -0500
committerColin Walters <walters@verbum.org>2009-03-17 16:28:30 -0400
commit5dfa997724551ed163fefc11782b7163db3be378 (patch)
tree3e7e5cabcecd27e1ab10b3db083a5e944d79b4fd /tests/scanner/foo-1.0-expected.gir
parente9dcc3cfb985292b5ff96772b73029a32b18ff11 (diff)
downloadgobject-introspection-5dfa997724551ed163fefc11782b7163db3be378.tar.gz
Bug 564016 - Add c:prefix to .gir
This has a few use cases; the main one in mind right now is that when we place this in the .typelib as well, we can use it to optimize lookups based on GType names, by skipping entirely typelibs whose c:prefix is not a prefix of the target type lookup.
Diffstat (limited to 'tests/scanner/foo-1.0-expected.gir')
-rw-r--r--tests/scanner/foo-1.0-expected.gir2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scanner/foo-1.0-expected.gir b/tests/scanner/foo-1.0-expected.gir
index b28d8611..839a8dc1 100644
--- a/tests/scanner/foo-1.0-expected.gir
+++ b/tests/scanner/foo-1.0-expected.gir
@@ -11,7 +11,7 @@ and/or use gtk-doc annotations. -->
<include name="utility" version="1.0"/>
<package name="gobject-2.0"/>
<c:include name="foo.h"/>
- <namespace name="foo" version="1.0" shared-library="foo">
+ <namespace name="foo" version="1.0" shared-library="foo" 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"/>