gobject-introspection r365 - in trunk: . giscanner
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r365 - in trunk: . giscanner
- Date: Wed, 13 Aug 2008 22:23:06 +0000 (UTC)
Author: walters
Date: Wed Aug 13 22:23:06 2008
New Revision: 365
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=365&view=rev
Log:
2008-08-13 Colin Walters <walters verbum org>
* giscanner/girparser.py: Parse records.
Modified:
trunk/ChangeLog
trunk/giscanner/girparser.py
Modified: trunk/giscanner/girparser.py
==============================================================================
--- trunk/giscanner/girparser.py (original)
+++ trunk/giscanner/girparser.py Wed Aug 13 22:23:06 2008
@@ -81,7 +81,10 @@
c = GLibInterface(child.attrib['name'], child.attrib[_glibns('type-name')], child.attrib[_glibns('get-type')])
self._parse_functions_props(child, c)
self._add_node(c)
- if child.tag in [_corens('record'), _corens('interface'),
+ if child.tag == _corens('record'):
+ s = Struct(child.attrib['name'], child.attrib[_cns('type')])
+ self._add_node(s)
+ if child.tag in [_corens('interface'),
_glibns('boxed'),
_corens('enumeration'),
_corens('bitfield'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]