diff options
| author | 2025-08-30 08:08:55 -0500 | |
|---|---|---|
| committer | 2025-08-30 08:08:55 -0500 | |
| commit | 2a85781616535c0d2f28fb83e452f746dad282e5 (patch) | |
| tree | 1cf500db37f90eafe19d820e80382c7de3e43e1e /src | |
| parent | Merge pull request #1633 from aeiouaeiouaeiouaeiouaeiouaeiou/janet-legacy-macos1 (diff) | |
| parent | Export channel utilities (diff) | |
Merge pull request #1632 from jsks/jsks-channel
Export channel utilities
Diffstat (limited to 'src')
| -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); |
