diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-11 14:47:34 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-11 14:47:34 -0400 |
| commit | 2ecb5fe885042ca6c25ee0a3e3da070ddec9e07e (patch) | |
| tree | cdd7c7d1d51982d4074f76a1bccc522fbc8b5eee /builtins/functions.h | |
| parent | 3bf8ea8e12a2728bf63968ca7b42359b089e318b (diff) | |
Add channels and threads
Diffstat (limited to 'builtins/functions.h')
| -rw-r--r-- | builtins/functions.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdbool.h> #include <stdint.h> +#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 |
