Skip to content

Commit 417a8eb

Browse files
vmorozaduh95
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 cdb631e commit 417a8eb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/node_api.h

Lines changed: 0 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy