mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
n-api,test: use module name macro
test_constructor_name.c should use NODE_GYP_MODULE_NAME. PR-URL: https://github.com/nodejs/node/pull/16146 Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
This commit is contained in:
1 parent
0418a4170b
commit
8e7ca5db8d
1 file changed
+1
-1
@@ -20,4 +20,4 @@ napi_value Init(napi_env env, napi_value exports) {
|
||||
return cons;
|
||||
}
|
||||
|
||||
NAPI_MODULE(addon, Init)
|
||||
NAPI_MODULE(NODE_GYP_MODULE_NAME, Init)
|
||||
Reference in new issue
Block a user