1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-22 06:20:27 +00:00

Fix BSD/Macos issue for #1431

This commit is contained in:
Calvin Rose 2024-04-26 19:32:47 -05:00
parent f0f1b7ce9e
commit 4779a445e0

View File

@ -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) {
janet_register_stream_impl(stream, 1);
}