summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-04-09 12:15:08 +0200
committerGitHub <[email protected]>2023-04-09 12:15:08 +0200
commitf3ee9ecd5227e891f70377559d0bb043b017794a (patch)
tree0d35dfa301a4a88d24390546a040220d539d0601 /docs
parent15796f67e790764f50091fb76aac68ab2f488927 (diff)
downloadSTC-modified-f3ee9ecd5227e891f70377559d0bb043b017794a.tar.gz
STC-modified-f3ee9ecd5227e891f70377559d0bb043b017794a.zip
Update ccommon_api.md
Diffstat (limited to 'docs')
-rw-r--r--docs/ccommon_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md
index a2337161..6015b959 100644
--- a/docs/ccommon_api.md
+++ b/docs/ccommon_api.md
@@ -337,7 +337,7 @@ int main()
// Stop when c >= 100
if (t.c < 100)
- printf("%d: {%d, %d, %d}\n", ++n, t.a, t.b, t.c);
+ printf("%d: [%d, %d, %d]\n", ++n, t.a, t.b, t.c);
else
cco_stop(&t); // cleanup in next coroutine call/resume
}