From ca69d0a2c3657e15e912c292666f52ad5b598550 Mon Sep 17 00:00:00 2001 From: Vladimir Morozov Date: Fri, 20 Dec 2024 08:22:34 -0800 Subject: [PATCH] node-api: remove deprecated attribute from napi_module_register PR-URL: https://github.com/nodejs/node/pull/56162 Reviewed-By: Michael Dawson Reviewed-By: Chengzhong Wu Reviewed-By: Gabriel Schulhof --- src/node_api.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/node_api.h b/src/node_api.h index 718f7541002eb9..c8c7bc6ffb9b94 100644 --- a/src/node_api.h +++ b/src/node_api.h @@ -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);