diff options
| author | 2025-04-11 21:10:04 -0500 | |
|---|---|---|
| committer | 2025-04-11 21:10:49 -0500 | |
| commit | 92a852f2df9a7f0e1456db14ad74bf62f410205c (patch) | |
| tree | 7c2ff1c3e5d38ab13a829d707a12310adae65b10 /src/include | |
| parent | make format (diff) | |
Add ev/to-stream.
This function is symmetrical to ev/to-file and can convert a blocking
file to a stream (with caveats).
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/janet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/janet.h b/src/include/janet.h index 1954af7b..672552d1 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -596,6 +596,7 @@ typedef void *JanetAbstract; #define JANET_STREAM_WRITABLE 0x400 #define JANET_STREAM_ACCEPTABLE 0x800 #define JANET_STREAM_UDPSERVER 0x1000 +#define JANET_STREAM_NOT_CLOSEABLE 0x2000 #define JANET_STREAM_TOCLOSE 0x10000 typedef enum { |
