Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/scanner/foo-1.0-expected.gir
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-02-12 22:40:08 (GMT)
committer Colin Walters <walters@verbum.org>2009-03-17 20:28:30 (GMT)
commit5dfa997724551ed163fefc11782b7163db3be378 (patch)
tree3e7e5cabcecd27e1ab10b3db083a5e944d79b4fd /tests/scanner/foo-1.0-expected.gir
parente9dcc3cfb985292b5ff96772b73029a32b18ff11 (diff)
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 b28d861..839a8dc 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"/>