From 22480b967b8880b17e3fc7974971a05d1a55912d Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 18 Jul 2011 14:52:30 +0100 Subject: libxl: Keyed unions key off an enum instead of an arbitrary expression Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- tools/libxl/idl.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tools/libxl/idl.txt') diff --git a/tools/libxl/idl.txt b/tools/libxl/idl.txt index dad59ac50c..271a2a8900 100644 --- a/tools/libxl/idl.txt +++ b/tools/libxl/idl.txt @@ -127,13 +127,9 @@ libxltype.KeyedUnion upon another member in the containing type. The KeyedUnion.keyvar_name must contain the name of the member of the - containing type which determines the valid member of the union - - The fields in a KeyedUnion have an extra Field.keyvar_expr - property. This must be a string containing a single "%s" format - specifier such that when "%s" is substited by an instance of - KeyedUnion.keyvar_name it becomes a C expression which evaluates to - True IFF this field currently contains valid data. + containing type which determines the valid member of the union. The + member referenced by KeyedUnion.keyvar_name has type + KeyedUnion.keyvar_type which must be an instance of the Enumeration type. Standard Types -------------- -- cgit v1.2.3