summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-08-14 18:07:10 +0200
committerTyge Løvset <[email protected]>2022-08-14 18:07:10 +0200
commitdd6e6a60b8d1af9127f2694efc314e810b71c9b1 (patch)
treea67be62308bb624db121db20764a815ffeb447a1
parent9bdcf2090da121f8d0954dad35db48c7aa47b17e (diff)
downloadSTC-modified-dd6e6a60b8d1af9127f2694efc314e810b71c9b1.tar.gz
STC-modified-dd6e6a60b8d1af9127f2694efc314e810b71c9b1.zip
Updated README.md, V4.0 description.
-rw-r--r--README.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/README.md b/README.md
index afab8712..d3d79f4e 100644
--- a/README.md
+++ b/README.md
@@ -3,17 +3,18 @@
STC - Smart Template Containers for C
=====================================
-News: Version 4.0 BETA (Aug 2022)
+News: Version 4.0 (Aug 2022)
---------------------------------------
-- Removed macro `c_apply` - usage was not intuitive.
-- `c_forarray` macro replaces usages of `c_apply`.
-- Minor changes in API of **cregex**, and improved documentation.
-- Version 3.9:
- - "ccommon API: `c_forrange` with 3 to 5 args swapped 1st <-> 2nd.
-- Version 3.8:
- - "Officially" added **cregex** - powerful regular expressions.
- - Added back **coption** - command line argument parsing.
- - Some changes in **cstr** and **csview** API.
+API changes summary V3.8 - V4.0:
+- Added **cregex** with documentation - powerful regular expressions.
+- Updated **cstr**, now always takes self as pointer, like all containers except csview.
+- Updated **cvec**, **cdeq**, changed `*_range*` function names.
+- `c_with`: macro renamed from `c_autovar`, which is deprecated. Like Python **with** statement.
+- `c_scope`: macro renamed from `c_autoscope`, which is deprecated.
+- `c_defer`: macro renamed from `c_autodefer`, which is deprecated. Like Go's, Zig's **defer**.
+- `c_forrange` with 3 to 5 args swapped 1st <-> 2nd arg.
+- New `c_forarray` macro to replace usages of `c_apply`, which is removed.
+- Added back **coption** - command line argument parsing.
- [See detailed changes for version 3](#version-3).
Introduction