From f3ee9ecd5227e891f70377559d0bb043b017794a Mon Sep 17 00:00:00 2001 From: Tyge Løvset <60263450+tylov@users.noreply.github.com> Date: Sun, 9 Apr 2023 12:15:08 +0200 Subject: Update ccommon_api.md --- docs/ccommon_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3