From 586d0ae13a1cdcbe2cad4c883df331c8d3dc698f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Wed, 16 Apr 2025 23:47:41 +0200 Subject: [PATCH] Update documentation --- doc/API.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/API.txt b/doc/API.txt index 21104174..b7dc9a3e 100644 --- a/doc/API.txt +++ b/doc/API.txt @@ -95,9 +95,10 @@ V0.8.0 : * The prototypes of REALLOC / FREE operators are incompatible: * M_MEMORY_FULL: replace the failed size allocation size argument into the base type and the number of elements that failed to be allocated. * m-buffer: non-thread safe queue & stack are moved into their dedicated header (m-queue) BUFFER_THREAD_UNSAFE is no longer supported. - * m-buffer: Remove buffer blocking policy and thread safe (_push / _pop returns now void) + * m-buffer: Remove buffer blocking policy BUFFER_BLOCKING (default policy is now forced) and thread safe (_push / _pop returns now void) * m-buffer push / pop no longer return a bool (it was undocumented) * Remove MEMPOOL support from list & R/B tree * m-mempool: Header is obsolete (and no longer useful at all as lists & RB Tree no longer can use it. To remove?). Use new M_USE_POOL interface to pass local pool context. - * M*LIB becomes stricter for INIT_MOVE: Emulation layer using CLEAR+INIT_SET when missing INIT_MOVE operator has been removed: either default INIT_MOVE operator (operator '=') is working, or a methode is provided for INIT_MOVE or it is disabled. + * M*LIB becomes stricter for INIT_MOVE: Emulation layer using CLEAR+INIT_SET when missing INIT_MOVE operator has been removed: either default INIT_MOVE operator (operator '=') is working, or a method is provided for INIT_MOVE or it is disabled. + If it is an array of size 1, you can use M_COPY_A1_DEFAULT as a default method. (It's because supporting emulation layer with new memory context parameter was complicated)