diff options
| author | Tyge Løvset <[email protected]> | 2021-01-04 14:32:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-04 14:32:47 +0100 |
| commit | 19908d147f4ddd95497c96197f78e2766c1d54c8 (patch) | |
| tree | 45e8d3f7f7db9debc89b9fb95e3a9cad2ed2ffb0 /docs | |
| parent | 46e88ff7266d55b64e26e93f3a31e1773067cf94 (diff) | |
| download | STC-modified-19908d147f4ddd95497c96197f78e2766c1d54c8.tar.gz STC-modified-19908d147f4ddd95497c96197f78e2766c1d54c8.zip | |
Update crand_api.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/crand_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/crand_api.md b/docs/crand_api.md index 6b14939d..46d6ef1c 100644 --- a/docs/crand_api.md +++ b/docs/crand_api.md @@ -70,11 +70,11 @@ RNG, around 68% of the values fall within the range [*mean* - *stddev*, *mean* + using_cmap(i, int, size_t); // Comparison of map keys. -static int compare(cmap_i_entry_t *a, cmap_i_entry_t *b) { +static int compare(cmap_i_value_t *a, cmap_i_value_t *b) { return c_default_compare(&a->first, &b->first); } // Declare vector of map entries, with comparison function. -using_cvec(e, cmap_i_entry_t, compare); +using_cvec(e, cmap_i_value_t, compare); int main() |
