[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl IDL: the name of a KeyedUnion discriminator need not be 'type'
commit 9a098f1e87fd1f82e18a750ece4362c06edb3daf Author: David Scott <dave.scott@xxxxxxxxxx> AuthorDate: Tue Jul 22 16:05:18 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Thu Jul 24 16:23:18 2014 +0100 libxl IDL: the name of a KeyedUnion discriminator need not be 'type' Signed-off-by: David Scott <dave.scott@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/libxl/gentypes.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/libxl/gentypes.py b/tools/libxl/gentypes.py index 4b0c996..3e73821 100644 --- a/tools/libxl/gentypes.py +++ b/tools/libxl/gentypes.py @@ -440,7 +440,7 @@ def libxl_C_type_parse_json(ty, w, v, indent = " ", parent = None, discrimina (f.type.keyvar.name + "." + x.name, w) s += " if (x) {\n" (nparent, fexpr) = ty.member(v, f.type.keyvar, parent is None) - s += " %s_init_type(%s, %s);\n" % (ty.typename, v, x.enumname) + s += " %s_init_%s(%s, %s);\n" % (ty.typename, f.type.keyvar.name, v, x.enumname) (nparent,fexpr) = ty.member(v, f, parent is None) s += libxl_C_type_parse_json(f.type, "x", fexpr, " ", nparent, x.enumname) s += " }\n" -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |