From 235dc2f341e803a61de24b0e3acd326b858cb983 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 526cdd5d406eb6..0fd99a963df3aa 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);