Skip to content

Commit 55a57a1

Browse files
vmorozmarco-ippolito
authored andcommitted
node-api: remove deprecated attribute from napi_module_register
PR-URL: #56162 Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com>
1 parent fe5f7bc commit 55a57a1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/node_api.h

-3
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ EXTERN_C_START
9090

9191
// Deprecated. Replaced by symbol-based registration defined by NAPI_MODULE
9292
// and NAPI_MODULE_INIT macros.
93-
#if defined(__cplusplus) && __cplusplus >= 201402L
94-
[[deprecated]]
95-
#endif
9693
NAPI_EXTERN void NAPI_CDECL
9794
napi_module_register(napi_module* mod);
9895

0 commit comments

Comments
 (0)