aboutsummaryrefslogtreecommitdiff
path: root/include/libn/macro/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libn/macro/map.h')
-rw-r--r--include/libn/macro/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libn/macro/map.h b/include/libn/macro/map.h
index 4724d1e..fae50ee 100644
--- a/include/libn/macro/map.h
+++ b/include/libn/macro/map.h
@@ -225,6 +225,8 @@ static const double __ac_HASH_UPPER = 0.77;
} \
}
+#define KEY_EXIST(m, x) (!__ac_iseither((m)->flags, (x)))
+
/* set macro */
#define SET_STRUCT_BODY(key_t) \