mirror of
https://github.com/janet-lang/janet
synced 2025-12-13 03:58:06 +00:00
Add ev/to-stream.
This function is symmetrical to ev/to-file and can convert a blocking file to a stream (with caveats).
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user