Skip to content

node-api: introduce experimental feature flags

Add a flag for each experimental feature to indicate its presence. That way, if we compile with NAPI_EXPERIMENTAL turned on, we'll be able to distinguish between what NAPI_EXPERIMENTAL used to mean on an old version of the headers when compiling against such an old version, and what it means on a new version of Node.js.

Merge request reports

Loading