mirror of
https://github.com/janet-lang/janet
synced 2025-01-08 22:50:27 +00:00
Fix BSD/Macos issue for #1431
This commit is contained in:
parent
f0f1b7ce9e
commit
4779a445e0
@ -1731,6 +1731,10 @@ void janet_register_stream_impl(JanetStream *stream, int edge_trigger) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void janet_register_stream(JanetStream *stream) {
|
||||||
|
janet_register_stream_impl(stream, 1);
|
||||||
|
}
|
||||||
|
|
||||||
void janet_stream_edge_triggered(JanetStream *stream) {
|
void janet_stream_edge_triggered(JanetStream *stream) {
|
||||||
janet_register_stream_impl(stream, 1);
|
janet_register_stream_impl(stream, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user