diff options
author | Colin Walters <walters@verbum.org> | 2010-08-03 13:01:35 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-08-31 16:05:56 -0400 |
commit | abc4e514ff46ed77159b19f56dea54eeef8bc909 (patch) | |
tree | c72971e270139c35739b651bb91b35bf2b66b783 /giscanner/girparser.py | |
parent | f58c9cd835c6e5077496ea4abf18ecd8907c3288 (diff) | |
download | gobject-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 'giscanner/girparser.py')
-rw-r--r-- | giscanner/girparser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py index 17cf630c..9fee1fc1 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -160,8 +160,9 @@ class GIRParser(object): self._pkgconfig_packages.add(node.attrib['name']) def _parse_alias(self, node): + typeval = self._parse_type(node) alias = Alias(node.attrib['name'], - node.attrib['target'], + typeval, node.attrib.get(_cns('type'))) self._add_node(alias) |