diff options
| author | 2025-08-29 12:19:53 +0200 | |
|---|---|---|
| committer | 2025-08-29 12:19:53 +0200 | |
| commit | e7bb0dd58eb53997a3ecac816eb5a5273edb7383 (patch) | |
| tree | c48d5ccbd11f11a138768a6b0639f39ca825dcff /src/include | |
| parent | Prepare for 1.39.0 release (diff) | |
Export channel utilities
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/janet.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 844884f8..7ac2fdd3 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -1465,10 +1465,10 @@ 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 JanetChannel *janet_channel_make(uint32_t limit); +JANET_API JanetChannel *janet_channel_make_threaded(uint32_t limit); +JANET_API JanetChannel *janet_getchannel(const Janet *argv, int32_t n); +JANET_API JanetChannel *janet_optchannel(const Janet *argv, int32_t argc, int32_t n, JanetChannel *dflt); JANET_API int janet_channel_give(JanetChannel *channel, Janet x); JANET_API int janet_channel_take(JanetChannel *channel, Janet *out); |
