diff options
| author | Tyge Løvset <[email protected]> | 2021-01-02 10:05:46 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-01-02 10:05:46 +0100 |
| commit | a4a690205c421fc0cb56787df65588ffc9d6ebd2 (patch) | |
| tree | 6cf36002693ded44e7eac39f36b0f161e33c4b30 /docs | |
| parent | 59f56b54744db309981065ccb63bbe68aff4f4ff (diff) | |
| download | STC-modified-a4a690205c421fc0cb56787df65588ffc9d6ebd2.tar.gz STC-modified-a4a690205c421fc0cb56787df65588ffc9d6ebd2.zip | |
Internal: moved template argument in cdeq, cvec and clist.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cdeq_api.md | 6 | ||||
| -rw-r--r-- | docs/clist_api.md | 6 | ||||
| -rw-r--r-- | docs/cvec_api.md | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/docs/cdeq_api.md b/docs/cdeq_api.md index 6ff3bb64..e30967f1 100644 --- a/docs/cdeq_api.md +++ b/docs/cdeq_api.md @@ -9,12 +9,12 @@ See [std::deque](https://en.cppreference.com/w/cpp/container/deque) for correspo ```c #define using_cdeq(X, Value, valueCompareRaw=c_default_compare, valueDestroy=c_default_del, - RawValue=Value, valueFromRaw=c_default_from_raw, - valueToRaw=c_default_to_raw) + valueToRaw=c_default_to_raw, + RawValue=Value) #define using_cdeq_str() ``` -The macro `using_cdeq()` can be instantiated with 2, 3, 4, or 7 arguments in the global scope. +The macro `using_cdeq()` can be instantiated with 2, 3, 4, 5, or 7 arguments in the global scope. Defaults values are given above for args not specified. `X` is a type tag name and will affect the names of all cdeq types and methods. E.g. declaring `using_cdeq(my, int);`, `X` should be replaced by `my` in all of the following documentation. diff --git a/docs/clist_api.md b/docs/clist_api.md index 7fe15c09..10956903 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -11,12 +11,12 @@ is only one pointer, and length of the list is not stored. The method *clist_X_s ```c #define using_clist(X, Value, valueCompareRaw=c_default_compare, valueDestroy=c_default_del, - RawValue=Value, valueFromRaw=c_default_from_raw, - valueToRaw=c_default_to_raw) + valueToRaw=c_default_to_raw, + RawValue=Value) #define using_clist_str() ``` -The macro `using_clist()` can be instantiated with 2, 3, 4, or 7 arguments in the global scope. +The macro `using_clist()` can be instantiated with 2, 3, 4, 5, or 7 arguments in the global scope. Default values are given above for args not specified. `X` is a type tag name and will affect the names of all clist types and methods. E.g. declaring `using_clist(my, int);`, `X` should be replaced by `my` in all of the following documentation. `using_clist_str()` is a shorthand for diff --git a/docs/cvec_api.md b/docs/cvec_api.md index 435c2a3d..de437853 100644 --- a/docs/cvec_api.md +++ b/docs/cvec_api.md @@ -9,12 +9,12 @@ See [std::vector](https://en.cppreference.com/w/cpp/container/vector) for a simi ```c #define using_cvec(X, Value, valueCompareRaw=c_default_compare, valueDestroy=c_default_del, - RawValue=Value, valueFromRaw=c_default_from_raw, - valueToRaw=c_default_to_raw) + valueToRaw=c_default_to_raw, + RawValue=Value) #define using_cvec_str() ``` -The macro `using_cvec()` can be instantiated with 2, 3, 4, or 7 arguments in the global scope. +The macro `using_cvec()` can be instantiated with 2, 3, 4, 5, or 7 arguments in the global scope. Defaults values are given above for args not specified. `X` is a type tag name and will affect the names of all cvec types and methods. E.g. declaring `using_cvec(my, int);`, `X` should be replaced by `my` in all of the following documentation. |
