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 Dec 20, 2024
1 parent b6df128 commit ca69d0a
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 ca69d0a

Please sign in to comment.