From 368392fb8f553c06059cc5cb2c9eabdd27b82eab Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 29 Jun 2021 21:38:10 +0200 Subject: [PATCH] Add CLEAN operator for default oplist (same as INIT operator) --- m-core.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m-core.h b/m-core.h index 85400e28..77e30643 100644 --- a/m-core.h +++ b/m-core.h @@ -3161,6 +3161,7 @@ static inline size_t m_core_cstr_hash(const char str[]) (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), SET(M_SET_DEFAULT), \ CLEAR(M_NOTHING_DEFAULT), EQUAL(M_EQUAL_DEFAULT), CMP(M_CMP_DEFAULT), \ INIT_MOVE(M_MOVE_DEFAULT), MOVE(M_MOVE_DEFAULT) , \ + CLEAN(M_INIT_DEFAULT), \ ADD(M_ADD_DEFAULT), SUB(M_SUB_DEFAULT), \ MUL(M_MUL_DEFAULT), DIV(M_DIV_DEFAULT), \ HASH(M_HASH_DEFAULT), SWAP(M_SWAP_DEFAULT) , \ @@ -3173,6 +3174,7 @@ static inline size_t m_core_cstr_hash(const char str[]) (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), SET(M_SET_DEFAULT), \ CLEAR(M_NOTHING_DEFAULT), EQUAL(M_EQUAL_DEFAULT), CMP(M_CMP_DEFAULT), \ INIT_MOVE(M_MOVE_DEFAULT), MOVE(M_MOVE_DEFAULT) , \ + CLEAN(M_INIT_DEFAULT), \ ADD(M_ADD_DEFAULT), SUB(M_SUB_DEFAULT), \ MUL(M_MUL_DEFAULT), DIV(M_DIV_DEFAULT), \ HASH(M_HASH_DEFAULT), SWAP(M_SWAP_DEFAULT) , \ @@ -3185,6 +3187,7 @@ static inline size_t m_core_cstr_hash(const char str[]) (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), SET(M_SET_DEFAULT), \ CLEAR(M_NOTHING_DEFAULT), EQUAL(M_EQUAL_DEFAULT), CMP(M_CMP_DEFAULT), \ INIT_MOVE(M_MOVE_DEFAULT), MOVE(M_MOVE_DEFAULT) , \ + CLEAN(M_INIT_DEFAULT), \ ADD(M_ADD_DEFAULT), SUB(M_SUB_DEFAULT), \ MUL(M_MUL_DEFAULT), DIV(M_DIV_DEFAULT), \ HASH(M_HASH_DEFAULT), SWAP(M_SWAP_DEFAULT) )