mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
n-api: remove n-api module loading flag
Remove the command line flag that was needed for N-API module loading. Re: https://github.com/nodejs/vm/issues/9 PR-URL: https://github.com/nodejs/node/pull/14902 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com>
This commit is contained in:
1 parent
526e78f5cd
commit
cd3a8e8832
15 files changed
+86
-70
No files matched your search
@@ -26,7 +26,9 @@ napi_value TestCallFunction(napi_env env, napi_callback_info info) {
|
||||
return result;
|
||||
}
|
||||
|
||||
void TestFunctionName(napi_env env, napi_callback_info info) {}
|
||||
napi_value TestFunctionName(napi_env env, napi_callback_info info) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
napi_value Init(napi_env env, napi_value exports) {
|
||||
napi_value fn1;
|
||||
|
||||
Reference in new issue
Block a user