summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-04-08 13:36:41 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-04-09 08:55:09 -0700
commit4312014a8bcfa902540bae21d92d2557d2f81789 (patch)
treead32d0ded9e9a5adab5a8a052bd3fb0ad15d8bfa
parentaa1ba08550c271fa616f164435e954d8000388f9 (diff)
include: Add enum WAFFLE_DONT_CARE
Nothing uses the enum yet. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--include/waffle/waffle_enum.h1
-rw-r--r--src/waffle/api/waffle_enum.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/waffle/waffle_enum.h b/include/waffle/waffle_enum.h
index 2ed04d3..0854b9b 100644
--- a/include/waffle/waffle_enum.h
+++ b/include/waffle/waffle_enum.h
@@ -37,6 +37,7 @@ waffle_enum_to_string(int32_t e);
/// enables better error detection at API entry points.
enum waffle_enum {
WAFFLE_LIST_END = 0x0000,
+ WAFFLE_DONT_CARE = 0x0001,
/// @defgroup enums for waffle_init()
/// @{
diff --git a/src/waffle/api/waffle_enum.c b/src/waffle/api/waffle_enum.c
index 745f383..886fb39 100644
--- a/src/waffle/api/waffle_enum.c
+++ b/src/waffle/api/waffle_enum.c
@@ -20,6 +20,7 @@ waffle_enum_to_string(int32_t e)
switch (e) {
#define CASE(x) case x: return #x
CASE(WAFFLE_LIST_END);
+ CASE(WAFFLE_DONT_CARE);
CASE(WAFFLE_PLATFORM);
CASE(WAFFLE_PLATFORM_ANDROID);
CASE(WAFFLE_PLATFORM_COCOA);