FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

node-api: remove deprecated attribute from napi_module_register · nodejs/node@417a8eb · GitHub

/ node Public

Commit 417a8eb

Browse files
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

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL