Skip to content

Commit d8c270b

Browse files
committed
add nw_enter_dom and nw_leave_dom hook
1 parent dfef23f commit d8c270b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/node_hooks.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ V(IntVoidFn, "g_nw_uvrun_nowait", g_nw_uvrun_nowait_fn)
6464
V(IntVoidFn, "g_uv_runloop_once", g_uv_runloop_once_fn)
6565
V(IntVoidFn, "g_uv_backend_timeout", g_uv_backend_timeout_fn)
6666
V(IntVoidFn, "g_uv_backend_fd", g_uv_backend_fd_fn)
67+
V(BoolVoidFn, "g_nw_enter_dom", g_nw_enter_dom_fn)
68+
V(VoidBoolFn, "g_nw_leave_dom", g_nw_leave_dom_fn)
6769
#endif
6870

6971
#undef V

0 commit comments

Comments
 (0)