Skip to content

Commit

Permalink
remove deprecated attribute from napi_module_register (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi authored Dec 25, 2024
1 parent 6d6466f commit 80bebbf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/emnapi/include/node/node_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,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 80bebbf

Please sign in to comment.