node-api: remove deprecated attribute from napi_module_register

PR-URL: https://github.com/nodejs/node/pull/56162
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
This commit is contained in:
Vladimir Morozov authored and Marco Ippolito committed 2025-03-06 13:38:03 +01:00
1 parent fe5f7bcd47
commit 55a57a189f
1 file changed
-3
-3
View File
@@ -90,9 +90,6 @@ EXTERN_C_START
// Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
// and NAPI_MODULE_INIT macros.
#if defined(__cplusplus) && __cplusplus >= 201402L
[[deprecated]]
#endif
NAPI_EXTERN void NAPI_CDECL
napi_module_register(napi_module* mod);