From 9f4f9d1d5dd60f6ba976ea3ad83b5282f2d0971a Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 21 Dec 2024 13:06:52 +0100 Subject: [PATCH] Update --- doc/API.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/API.txt b/doc/API.txt index e61f6725..7017a405 100644 --- a/doc/API.txt +++ b/doc/API.txt @@ -85,4 +85,13 @@ V0.7.2: * Rename m-mutex.h header in m-thread.h V0.7.3 : * DICT_STOREHASH_DEF2 / DICT_STOREHASH_DEF2_AS are deprecated. Use DICT_DEF2 / DICT_DEF2_AS - \ No newline at end of file + +V0.7.4 : * REALLOC / FREE operators are incompatible: + Add the old number of elements of the array as argument of REALLOC + Add the number of elements of the array and its base type as arguments of FREE. + You need to ignore the new arguments. + Also impact M_MEMORY_REALLOC & M_MEMORY_FREE + This allows more and efficient integration into custom allocators. + * M_MEMORY_FULL: replace the failed size allocation size argument + into the base type and the number of elements that failed to be allocated. +