From 591a47002d9d759256b4b29e56a1e1303a421167 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 16 Dec 2011 10:02:14 +0100 Subject: [xml] change saml_advice.h to declarer the real node type It also needed a change to bindings.py to parse struct as well as typedef node classes. --- bindings/bindings.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bindings') diff --git a/bindings/bindings.py b/bindings/bindings.py index def735e7..0caf114a 100644 --- a/bindings/bindings.py +++ b/bindings/bindings.py @@ -483,6 +483,9 @@ def parse_header(header_file): pass else: # TODO: Add parsing of OFTYPE + # Transform struct to typedef + # example: "struct _LassoAssertion" -> "LassoAssertion" + line = re.sub('\s+struct _', ' ', line) member_match = re.match('\s+(\w+)\s+(\*?\w+)', line) if member_match: member_type, member_name = normalise_var(member_match.group(1), member_match.group(2)) -- cgit