From 2ecb5fe885042ca6c25ee0a3e3da070ddec9e07e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Aug 2024 14:47:34 -0400 Subject: Add channels and threads --- builtins/functions.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'builtins/functions.h') diff --git a/builtins/functions.h b/builtins/functions.h index a62865bd..ac4fbf81 100644 --- a/builtins/functions.h +++ b/builtins/functions.h @@ -6,6 +6,7 @@ #include #include +#include "datatypes.h" #include "types.h" extern uint8_t TOMO_HASH_KEY[8]; @@ -26,6 +27,7 @@ uint32_t generic_hash(const void *obj, const TypeInfo *type); int32_t generic_compare(const void *x, const void *y, const TypeInfo *type); bool generic_equal(const void *x, const void *y, const TypeInfo *type); CORD generic_as_text(const void *obj, bool colorize, const TypeInfo *type); +closure_t spawn(closure_t fn); bool pop_flag(char **argv, int *i, const char *flag, CORD *result); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3