diff options
| author | Tyge Løvset <[email protected]> | 2022-05-07 16:38:58 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-05-07 16:38:58 +0200 |
| commit | e9c30e66af9c5c3054735eeb65c0bb384dea96b4 (patch) | |
| tree | e144846216b6be8937a0067802d7c1bfdfac269c /docs | |
| parent | d9dc93a90e1ac0a42e946be52b169e1175377c4f (diff) | |
| download | STC-modified-e9c30e66af9c5c3054735eeb65c0bb384dea96b4.tar.gz STC-modified-e9c30e66af9c5c3054735eeb65c0bb384dea96b4.zip | |
Updated alt/csmap.h to be synced with current csmap.h; alt-version allocates each node separately on the heap, regular uses an array.
Now alt-version of csmap and cstr can be used by defining -DSTC_CSMAP_V1 and -DSTC_CSTR_V1 when compiling.
Improved code readability by making line breaks after if and while (also cmap.h).
Note, the alt-versions may be removed in the future, but the alt csmap.h may be made into an intrusive sorted map, where the creation and destruction of nodes must be done by the user.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
