summaryrefslogtreecommitdiff
path: root/tco.h
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2025-02-11 12:45:45 +0000
committerAiden Gall <aiden@aidengall.xyz>2025-02-11 12:45:45 +0000
commit0ed31de7833d16e03846ad00f127d2c7f4c8f2a6 (patch)
treed8531f0a06b0469f05055d9b5751d1a11ee2e951 /tco.h
parent51852ce6d2f87cfb45e3efd5f2bc474d86c7ff8d (diff)
(tco_args) add support for coroutine arguments
Diffstat (limited to 'tco.h')
-rw-r--r--tco.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tco.h b/tco.h
index c8a2f3d..897f2fa 100644
--- a/tco.h
+++ b/tco.h
@@ -19,5 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#define coroutine
#endif
-int tco_go(void (*f)(void));
+int tco_go(void (*f)());
+void tco_args();
void tco_yield(void);