From 82a6bc7e72fd5302308e577296a12355d7e80c9d Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 22 Apr 2017 18:08:56 +0200 Subject: [PATCH] Add CMP for CSTR --- m-core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index 2bb653d9..2f18543d 100644 --- a/m-core.h +++ b/m-core.h @@ -867,7 +867,7 @@ m_core_hash (const void *str, size_t length) #define M_CSTR_OPLIST (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), \ SET(M_SET_DEFAULT), CLEAR(M_NOTHING_DEFAULT), \ HASH(M_CSTR_HASH), EQUAL(M_CSTR_EQUAL), \ - TYPE(const char *) ) + CMP(strcmp), TYPE(const char *) ) /* From an oplist (...) return ... */ #define M_OPLIST_FLAT(...) __VA_ARGS__