We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77da2a1 commit b8257eeCopy full SHA for b8257ee
2 files changed
internal/watcher/watcher.c
@@ -1,8 +1,8 @@
1
// clang-format off
2
//go:build !nowatcher
3
// clang-format on
4
+#include <wtr/watcher-c.h>
5
#include "_cgo_export.h"
-#include "wtr/watcher-c.h"
6
7
void handle_event(struct wtr_watcher_event event, void *_ctx) {
8
go_handle_file_watcher_event(event, (uintptr_t)_ctx);
internal/watcher/watcher.h
@@ -1,6 +1,6 @@
#include <stdint.h>
#include <stdlib.h>
uintptr_t start_new_watcher(char const *const path, uintptr_t _ctx);
0 commit comments