[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.
This commit is contained in:
parent
ed9c981989
commit
591a47002d
|
@ -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))
|
||||
|
|
|
@ -52,8 +52,7 @@ struct _LassoSamlAdvice {
|
|||
/* <element ref="saml:AssertionIDReference"/> */
|
||||
GList *AssertionIDReference; /* of LassoNode */
|
||||
/* <element ref="saml:Assertion"/> */
|
||||
LassoNode *Assertion; /* actually LassoSamlAssertion* but it recurses */
|
||||
|
||||
struct _LassoSamlAssertion *Assertion;
|
||||
};
|
||||
|
||||
struct _LassoSamlAdviceClass {
|
||||
|
|
Loading…
Reference in New Issue