mirror of
https://github.com/janet-lang/janet
synced 2025-10-27 05:37:42 +00:00
Add ev/call.
This is a common operation, and making fibers manually can be tedious.
This commit is contained in:
@@ -664,7 +664,7 @@ static void check_stream_flag(JanetStream *stream, int flag) {
|
||||
if (flag == JANET_STREAM_WRITABLE) msg = "writable";
|
||||
if (flag == JANET_STREAM_ACCEPTABLE) msg = "server";
|
||||
if (flag == JANET_STREAM_UDPSERVER) msg = "datagram server";
|
||||
janet_panicf("bad stream - expected %s stream", msg);
|
||||
janet_panicf("bad stream, expected %s stream", msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user