diff options
author | Jürg Billeter <j@bitron.ch> | 2008-10-12 22:44:27 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-10-12 22:44:27 +0000 |
commit | 34a093b874b6a7c9aae8e9a4f8cc7bc18b845bfd (patch) | |
tree | bdba1aea668201d7c83acfe7418a8408f77e14b4 /giscanner/girparser.py | |
parent | 5b49f52893815c63f4268b5ad27e27291aa433b7 (diff) | |
download | gobject-introspection-34a093b874b6a7c9aae8e9a4f8cc7bc18b845bfd.tar.gz |
Parse bits attribute of fields
2008-10-12 Jürg Billeter <j@bitron.ch>
* giscanner/girparser.py: Parse bits attribute of fields
svn path=/trunk/; revision=700
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 c24d7bd9..7fca083c 100644 --- a/giscanner/girparser.py +++ b/giscanner/girparser.py @@ -238,7 +238,8 @@ class GIRParser(object): type_node = self._parse_type(node) return Field(node.attrib['name'], type_node, - type_node.ctype) + type_node.ctype, + node.attrib.get('bits')) def _parse_property(self, node): type_node = self._parse_type(node) |