POC: src: add addon ABI declaration option
Add macro NODE_MODULE_DECLARE_ABI
to give addon authors the option of
providing a list of versions for various parts of the ABI against which
to check the addon at load time.
Re: https://github.com/nodejs/TSC/issues/651
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines