Skip to content

Commit

Permalink
node-api: remove deprecated attribute from napi_module_register
Browse files Browse the repository at this point in the history
PR-URL: #56162
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Gabriel Schulhof <[email protected]>
  • Loading branch information
vmoroz authored and aduh95 committed Jan 2, 2025
1 parent cdb631e commit 417a8eb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/node_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 417a8eb

Please sign in to comment.