summaryrefslogtreecommitdiffhomepage
path: root/docs/cpque_api.md
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2021-09-20 10:36:25 +0200
committerTyge Lovset <[email protected]>2021-09-20 10:36:25 +0200
commit0861391b9b3b8ad37e24b0dba7da192f31e48a6b (patch)
treedf78821e47690e1793465d0fcf3d068ad33ccf44 /docs/cpque_api.md
parent625a0fad0c1d187d56d3a9c9bb831987e9250e86 (diff)
downloadSTC-modified-0861391b9b3b8ad37e24b0dba7da192f31e48a6b.tar.gz
STC-modified-0861391b9b3b8ad37e24b0dba7da192f31e48a6b.zip
Renamed macros: breaking changes for Version 2.0!
c_forvar => c_autovar c_forscope => c_autoscope c_forauto => c_auto Removed: c_fordefer(x); use c_forscope(0, x) instead. Added: c_exitauto; // continue
Diffstat (limited to 'docs/cpque_api.md')
-rw-r--r--docs/cpque_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cpque_api.md b/docs/cpque_api.md
index 3b3338e8..990cc4b7 100644
--- a/docs/cpque_api.md
+++ b/docs/cpque_api.md
@@ -68,7 +68,7 @@ int main()
stc64_uniform_t dist = stc64_uniform_init(0, N * 10);
// Declare heap, with defered del()
- c_forauto (cpque_i, heap)
+ c_auto (cpque_i, heap)
{
// Push ten million random numbers to priority queue, plus some negative ones.
c_forrange (N)