diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-07-18 14:52:30 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2011-07-18 14:52:30 +0100 |
commit | 22480b967b8880b17e3fc7974971a05d1a55912d (patch) | |
tree | 824f9fb4e5268d6ba77b05ba0e32403bfc076bcd /tools/libxl/idl.txt | |
parent | 9949c1ba6964fb2230d02dfe8385091c13e3589c (diff) | |
download | xen-22480b967b8880b17e3fc7974971a05d1a55912d.tar.gz xen-22480b967b8880b17e3fc7974971a05d1a55912d.tar.bz2 xen-22480b967b8880b17e3fc7974971a05d1a55912d.zip |
libxl: Keyed unions key off an enum instead of an arbitrary expression
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxl/idl.txt')
-rw-r--r-- | tools/libxl/idl.txt | 10 |
1 files changed, 3 insertions, 7 deletions
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 -------------- |