diff options
| author | Tyge Løvset <[email protected]> | 2022-04-18 23:00:13 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-18 23:00:13 +0200 |
| commit | 1eddea1da0125ddad2f8804fadafd1494c1bb11a (patch) | |
| tree | 2c38c69cd129edb88dc901a3e1197d177b1a6cf9 /include/stc/clist.h | |
| parent | c2ed81e1d1de503b9264e7c03bcc7087a270df94 (diff) | |
| download | STC-modified-1eddea1da0125ddad2f8804fadafd1494c1bb11a.tar.gz STC-modified-1eddea1da0125ddad2f8804fadafd1494c1bb11a.zip | |
Renamed stc64_random() => crandom(), stc64_srandom(seed) => csrandom(seed). Kept old names for backward comp.
Diffstat (limited to 'include/stc/clist.h')
| -rw-r--r-- | include/stc/clist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/clist.h b/include/stc/clist.h index 88f41f4e..c3c15900 100644 --- a/include/stc/clist.h +++ b/include/stc/clist.h @@ -38,7 +38,7 @@ {
int n;
for (int i = 0; i < 1000000; ++i) // one million
- clist_ix_push_back(&list, stc64_random() >> 32);
+ clist_ix_push_back(&list, crandom() >> 32);
n = 0;
c_foreach (i, clist_ix, list)
if (++n % 10000 == 0) printf("%8d: %10zu\n", n, *i.ref);
|
