LassoSamlp2IDPList is not list capable

LassoSamlp2IDPList is supposed to handle a list of LassoSamlp2IDPEntry
but in fact it had no list support. Change the snippet flag
SNIPPET_NODE to SNIPPET_LIST_NODES and add the special list comment on
the struct member so that the binding generator knows what type of
GList it is.

Signed-off-by: John Dennis <jdennis@redhat.com>
License: MIT
This commit is contained in:
John Dennis 2015-05-27 12:00:33 -04:00 committed by Benjamin Dauvergne
parent 9629925c1e
commit ad3751f2b0
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
static struct XmlSnippet schema_snippets[] = {
{ "IDPEntry", SNIPPET_NODE,
{ "IDPEntry", SNIPPET_LIST_NODES,
G_STRUCT_OFFSET(LassoSamlp2IDPList, IDPEntry), NULL, NULL, NULL},
{ "GetComplete", SNIPPET_CONTENT,
G_STRUCT_OFFSET(LassoSamlp2IDPList, GetComplete), NULL, NULL, NULL},

View File

@ -54,7 +54,7 @@ struct _LassoSamlp2IDPList {
/*< public >*/
/* elements */
LassoSamlp2IDPEntry *IDPEntry;
GList *IDPEntry; /* of LassoSamlp2IDPEntry */
char *GetComplete;
};