summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
diff --git a/README.md b/README.md
index ef896068..f74888d8 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,9 @@
STC - Smart Template Containers for C
=====================================
-News: Version 3.6 released (April 2022)
+News: Version 3.7 released (July 2022)
---------------------------------------
-- See [Changes version 3.6](#changes-version-36)
+- [See changes version 3](#version-3). Note some code-breaking API changes!
Introduction
------------
@@ -457,6 +457,16 @@ Memory efficiency
# Version 3
+## Changes version 3.7
+- NB! Changed self argument from value to const pointer on containers (does not apply to **cstr**):
+ - `CNT_size(const CNT *self)`
+ - `CNT_capacity(const CNT *self)`
+ - `CNT_empty(const CNT *self)`
+- Now both **cstack** and **cbits** can be used with template `i_cap` parameter: `#define i_cap <NUM>`. They then use fixed sized arrays, and no heap allocated memory.
+- Renamed *cstr_rename_n()* => *cstr_rename_with_n()* as it could be confused with replacing n instances instead of n bytes.
+- Renamed macro *c_apply_arr()* => *c_apply_array()*
+- Fixed bug in `csmap.h`: begin() on empty map was not fully initialized.
+
## Changes version 3.6
- Swapped to new **cstr** (*short string optimized*, aka SSO). Note that `cstr_str(&s)` must be used, `s.str` is no longer usable.
- Removed *redundant* size argument to `i_hash` template parameter and `c_default_hash`. Please update your code.