diff options
| author | Tyge Løvset <[email protected]> | 2022-09-27 11:23:33 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-27 11:23:33 +0200 |
| commit | df016494014d283b56ef4aadccde5baa0cd43625 (patch) | |
| tree | 37d13a943eff1ff65456da5566944ae9cd38fd94 | |
| parent | 4d91335784ac4ada0580db950d01e3ce9d91f200 (diff) | |
| download | STC-modified-df016494014d283b56ef4aadccde5baa0cd43625.tar.gz STC-modified-df016494014d283b56ef4aadccde5baa0cd43625.zip | |
Version 4.0, Release Candidate 4
| -rw-r--r-- | README.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -471,12 +471,12 @@ Memory efficiency - Added: `c_forwhile`: *c_foreach* iteration with extra predicate. - Added: **crange**: Number generator type, which can be iterated (e.g. with *c_forfilter*). - Added back **coption** - command line argument parsing. -- Added / 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**. +- New + renamed loop iteration/scope macros: + - `c_forlist`: macro replacing `c_forarray` and `c_apply`. More user friendly. + - `c_forloop`: macro replacing `c_forrange`. Uses 'long long' as iterator type. + - `c_with`: macro renamed from `c_autovar`. Like Python's **with** statement. + - `c_scope`: macro renamed from `c_autoscope`. + - `c_defer`: macro renamed from `c_autodefer`. Resembles Go's and Zig's **defer**. - Updated **cstr**, now always takes self as pointer, like all containers except csview. - Updated **cvec**, **cdeq**, changed `*_range*` function names. [See detailed changes for version 3](#version-3). |
