From 55a57a189fef25185d9ca3974da17c81852bc8b6 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 526cdd5d406..0fd99a963df 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);