From a53cb5b82d0490241ec48bd0083939823b6d39f9 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 21 Jun 2011 18:26:39 +0100 Subject: libxl: autogenerate to_string and from_string functions for Enumerations. The generated strings are the lower case enum value names, with underscores. Accepted string for parsing are the same but are case insensitive. We provide a table of strings->value for each Enumeration as well as a convenience function to perform a lookup. Signed-off-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Jackson --- .hgignore | 1 + 1 file changed, 1 insertion(+) (limited to '.hgignore') diff --git a/.hgignore b/.hgignore index b497e634e3..218da673be 100644 --- a/.hgignore +++ b/.hgignore @@ -187,6 +187,7 @@ ^tools/libxl/_.*\.c$ ^tools/libxl/libxlu_cfg_y\.output$ ^tools/libxl/xl$ +^tools/libxl/testenum$ ^tools/libaio/src/.*\.ol$ ^tools/libaio/src/.*\.os$ ^tools/misc/cpuperf/cpuperf-perfcntr$ -- cgit v1.2.3