Bug 564016 - Add c:prefix to .gir
authorColin Walters <walters@verbum.org>
Thu, 12 Feb 2009 22:40:08 +0000 (17:40 -0500)
committerColin Walters <walters@verbum.org>
Tue, 17 Mar 2009 20:28:30 +0000 (16:28 -0400)
commit5dfa997724551ed163fefc11782b7163db3be378
tree3e7e5cabcecd27e1ab10b3db083a5e944d79b4fd
parente9dcc3cfb985292b5ff96772b73029a32b18ff11
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.
giscanner/girwriter.py
giscanner/scannermain.py
giscanner/transformer.py
tests/scanner/BarApp-1.0-expected.gir
tests/scanner/GtkFrob-1.0-expected.gir
tests/scanner/annotation-1.0-expected.gir
tests/scanner/drawable-1.0-expected.gir
tests/scanner/foo-1.0-expected.gir
tests/scanner/utility-1.0-expected.gir