You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nbind currently detects Node.js using #ifdef BUILDING_NODE_EXTENSION and Emscripten using #ifdef EMSCRIPTEN. How would I distinguish whether the Node.js version supports NAPI, without using other build tools in the module besides Gyp?
Could there be a macro like NODE_USE_NAPI or similar defined in common.gypi?
The text was updated successfully, but these errors were encountered:
I think we discussed and answered this in the meeting last Friday. Once Node supports the API it will be supported in all subsequent versions so checking that version is x or greater should be all that is required.
nbind currently detects Node.js using
#ifdef BUILDING_NODE_EXTENSION
and Emscripten using#ifdef EMSCRIPTEN
. How would I distinguish whether the Node.js version supports NAPI, without using other build tools in the module besides Gyp?Could there be a macro like
NODE_USE_NAPI
or similar defined incommon.gypi
?The text was updated successfully, but these errors were encountered: