aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/include
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-08-14 17:34:48 -0500
committerCalvin Rose <calsrose@gmail.com>2024-08-14 17:34:48 -0500
commitaf2eb062984329601ba9f8dc105d76d03dfeae46 (patch)
treecb658ea3f7edfba826cb34eddb7d6303277f4110 /src/include
parentStop out better configuration. (diff)
Expose janet_channel_make and janet_channel_make_threaded
Diffstat (limited to 'src/include')
-rw-r--r--src/include/janet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h
index db31478c..cccb0ccd 100644
--- a/src/include/janet.h
+++ b/src/include/janet.h
@@ -1450,6 +1450,8 @@ JANET_API int32_t janet_abstract_incref(void *abst);
JANET_API int32_t janet_abstract_decref(void *abst);
/* Expose channel utilities */
+JanetChannel *janet_channel_make(uint32_t limit);
+JanetChannel *janet_channel_make_threaded(uint32_t limit);
JanetChannel *janet_getchannel(const Janet *argv, int32_t n);
JanetChannel *janet_optchannel(const Janet *argv, int32_t argc, int32_t n, JanetChannel *dflt);
JANET_API int janet_channel_give(JanetChannel *channel, Janet x);