Skip to content

src: move C++ binding/addon related code into node_binding{.h, .cc}

This patch:

  • Moves the C++ binding/addon related code out of node_internals.h/node.cc and into dedicated files node_binding.h/node_binding.cc, and only puts the code resued by other files into the header.
  • Introduce a node::binding namespace so that code exposed to other files can be easily recognized.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading