From 7441d422e166d3fe21c7febbecef549492342b47 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 11 Jul 2017 10:02:06 +0200 Subject: [PATCH] Update TODO --- m-core.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/m-core.h b/m-core.h index b7256343..a45105c6 100644 --- a/m-core.h +++ b/m-core.h @@ -1020,8 +1020,11 @@ m_core_hash (const void *str, size_t length) malloc, realloc as it is safer (compilers shall warn in case of invalid implicit cast, whereas they won't if there is an explicit cast) */ -// TODO: M_MEMORY_DEL will need type too (for type overriding -// malloc implementation) +// TODO: M_MEMORY_ALLOC(type, alignement) +// M_MEMORY_DEL(type, ptr) +// M_MEMORY_REALLOC(type, ptr, n, alignement) +// M_MEMORY_FREE(type, ptr, n) +// alignement==0 ==> default alignement #ifndef M_MEMORY_ALLOC #ifdef __cplusplus # include