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 /docs/cpque_api.md | |
| 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 'docs/cpque_api.md')
| -rw-r--r-- | docs/cpque_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cpque_api.md b/docs/cpque_api.md index c6a0fc50..b4ad48a9 100644 --- a/docs/cpque_api.md +++ b/docs/cpque_api.md @@ -70,8 +70,8 @@ i_val cpque_X_value_clone(i_val value); int main() { size_t N = 10000000; - stc64_t rng = stc64_init(1234); - stc64_uniform_t dist = stc64_uniform_init(0, N * 10); + stc64_t rng = stc64_new(1234); + stc64_uniform_t dist = stc64_uniform_new(0, N * 10); // Declare heap, with defered drop() c_auto (cpque_i, heap) |
