diff options
| author | Tyge Løvset <[email protected]> | 2023-06-20 16:32:32 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-06-20 16:32:32 +0200 |
| commit | 3fed66750bed9c82a8bb12fd86b963d2f5ec0eb5 (patch) | |
| tree | 4a7c1d3c8a3774915a32f1d5e55846d89ae2c216 /docs | |
| parent | de4f8fa86f141dfeab15f5576029910474f56fa1 (diff) | |
| download | STC-modified-3fed66750bed9c82a8bb12fd86b963d2f5ec0eb5.tar.gz STC-modified-3fed66750bed9c82a8bb12fd86b963d2f5ec0eb5.zip | |
Renamed `i_more` => `i_retain` (avoids undef of template parameters on next STC container inclusion).
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ccommon_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md index 89a98cbb..c9c65156 100644 --- a/docs/ccommon_api.md +++ b/docs/ccommon_api.md @@ -222,11 +222,11 @@ int main() { } ``` Containers with random access may also be sorted. Even sorting cdeq/cqueue (with ring buffer) is -possible and very fast. Note that `i_more` must be defined to pick up template parameters from the container: +possible and very fast. Note that `i_retain` must be defined to retain specified template parameters for use by sort: ```c #define i_type MyDeq #define i_val int -#define i_more +#define i_retain #include <stc/cdeq.h> // deque #include <stc/algo/sort.h> #include <stdio.h> |
