1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-16 15:28:06 +00:00

Work on the filewatch module.

Currently a wrapper around inotify, should be expanded to work with
kqueue, icop, and eventually a implementation with polling and stat.
This commit is contained in:
Calvin Rose
2024-08-11 17:50:58 -05:00
parent 2dcc0adc0e
commit 6ceff6ecc9
7 changed files with 317 additions and 3 deletions

View File

@@ -204,6 +204,7 @@ extern const JanetAbstractType janet_address_type;
void janet_lib_ev(JanetTable *env);
void janet_ev_mark(void);
int janet_make_pipe(JanetHandle handles[2], int mode);
void janet_lib_filewatch(JanetTable *env);
#endif
#ifdef JANET_FFI
void janet_lib_ffi(JanetTable *env);