From 7a067a4b9083e2d1c197f20909226daf4d51a5a7 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 27 Oct 2018 11:13:09 +0200 Subject: [PATCH] Add M_PTR_OPLIST --- m-core.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/m-core.h b/m-core.h index 16a205dc..a5848b15 100644 --- a/m-core.h +++ b/m-core.h @@ -2043,6 +2043,12 @@ m_core_hash (const void *str, size_t length) HASH(M_HASH_DEFAULT), SWAP(M_SWAP_DEFAULT) ) #endif +#define M_PTR_OPLIST \ + (INIT(M_INIT_DEFAULT), INIT_SET(M_SET_DEFAULT), SET(M_SET_DEFAULT), \ + CLEAR(M_NOTHING_DEFAULT), EQUAL(M_EQUAL_DEFAULT), \ + INIT_MOVE(M_MOVE_DEFAULT), MOVE(M_MOVE_DEFAULT) , \ + SWAP(M_SWAP_DEFAULT) ) + #define M_CLASSIC_OPLIST(name) ( \ INIT(M_C(name, _init)), \ INIT_SET(M_C(name, _init_set)), \