From 7e19d1863ce64713259990614ea685527b6c7e1c Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 16 Sep 2017 19:01:06 +0200 Subject: [PATCH] Add note --- m-core.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m-core.h b/m-core.h index ee6059f5..664542a8 100644 --- a/m-core.h +++ b/m-core.h @@ -1170,6 +1170,10 @@ m_core_hash (const void *str, size_t length) // Shall support effectively fixed size allocator. // What about oplist? Can open up ALIGN & ALLOC_STATE opertors, and is // more flexible. +// But it can be done by overloading the M_GET_NEW / M_GET_DEL macros: +// they can force an alignement for an instance. +// The main issue may be adding an object within the instance +// associated to the memory allocation. #ifndef M_MEMORY_ALLOC #ifdef __cplusplus # include