Permalink
Please
sign in to comment.
Browse files
src: change env.h includes for forward declarations
Due to how the Environment class is used through the codebase, there are a lot of includes referencing either env.h or env-inl.h. This can cause that when any development touches those libraries, a lot of files have to be recompiled. This commit attempts to change those includes by forward declarations when possible to mitigate the issue. Refs: #27531 PR-URL: #30133 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
- Loading branch information
Showing
with
30 additions
and 20 deletions.
- +2 −1 src/connection_wrap.h
- +2 −2 src/diagnosticfilename-inl.h
- +0 −1 src/inspector/main_thread_interface.h
- +0 −1 src/inspector_profiler.h
- +2 −1 src/js_stream.h
- +3 −1 src/node_crypto_bio.h
- +2 −1 src/node_dtrace.h
- +3 −1 src/node_perf.h
- +2 −1 src/node_stat_watcher.h
- +0 −1 src/node_url.h
- +2 −1 src/pipe_wrap.h
- +2 −1 src/req_wrap.h
- +1 −1 src/stream_base.h
- +2 −2 src/stream_wrap.h
- +2 −1 src/tcp_wrap.h
- +1 −1 src/tls_wrap.h
- +2 −1 src/tty_wrap.h
- +2 −1 src/udp_wrap.h
0 comments on commit
c52b292