mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
fe5f7bcd47
commit
55a57a189f
1 file changed
-3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user