diff options
| author | Tyge Løvset <[email protected]> | 2022-04-18 23:53:18 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-18 23:53:18 +0200 |
| commit | 58497293d88109624d4798c56e888bcbab7c4285 (patch) | |
| tree | 670f4f481672635f27363ea2d711a4cbb37618d6 /examples/priority.c | |
| parent | 1eddea1da0125ddad2f8804fadafd1494c1bb11a (diff) | |
| download | STC-modified-58497293d88109624d4798c56e888bcbab7c4285.tar.gz STC-modified-58497293d88109624d4798c56e888bcbab7c4285.zip | |
crandom.h: Renamed *_init(..) functions to *_new(..). Old names are kept but deprecated.
Diffstat (limited to 'examples/priority.c')
| -rw-r--r-- | examples/priority.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/priority.c b/examples/priority.c index 1767dba8..6e033386 100644 --- a/examples/priority.c +++ b/examples/priority.c @@ -10,8 +10,8 @@ int main() {
size_t N = 10000000;
- stc64_t rng = stc64_init(time(NULL));
- stc64_uniform_t dist = stc64_uniform_init(0, N * 10);
+ stc64_t rng = stc64_new(time(NULL));
+ stc64_uniform_t dist = stc64_uniform_new(0, N * 10);
c_auto (cpque_i, heap)
{
// Push ten million random numbers to priority queue
|
