summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-09-26 08:08:47 +0200
committerTyge Løvset <[email protected]>2022-09-26 08:08:47 +0200
commitca01dd726e2ed8f8b69f8ff08855e80f4eea7247 (patch)
tree0ce1594c39d18a93212f066fd8c3c2477fc6f22b /README.md
parentad5be4349232bbba96c0974bc2693ec7331c4b12 (diff)
downloadSTC-modified-ca01dd726e2ed8f8b69f8ff08855e80f4eea7247.tar.gz
STC-modified-ca01dd726e2ed8f8b69f8ff08855e80f4eea7247.zip
DEPRECATED: c_forrange(): replaced with c_forloop(). This uses 'long long' as iter type, i.e. "%lld" printf format.
crange_from() renamed to crange_make(). More docs.
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/README.md b/README.md
index b0585dfb..6108550e 100644
--- a/README.md
+++ b/README.md
@@ -469,12 +469,13 @@ Memory efficiency
- 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's **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 and Zig's **defer**.
-- `c_forrange` with 3 to 5 args: swapped 1st <-> 2nd arg.
-- New `c_forlist` macro to replace usages of `c_forarray`/`c_apply`, which is removed.
- Added back **coption** - command line argument parsing.
+- NEW / DEPRECATED:
+ - `c_forlist`: macro replacing `c_forarray` and `c_apply` which is deprecated. More user friendly.
+ - `c_forloop`: macro replacing `c_forrange` which is deprecated. Uses 'long long' as iterator type.
+ - `c_with`: macro renamed from `c_autovar`, which is deprecated. Like Python's **with** statement.
+ - `c_scope`: macro renamed from `c_autoscope`, which is deprecated.
+ - `c_defer`: macro renamed from `c_autodefer`, which is deprecated. Resembles Go's and Zig's **defer**.
- [See detailed changes for version 3](#version-3).
## Changes version 3.8