From 29b9c1f79c6dfb48e94e35fd9d95d3c253d65abe Mon Sep 17 00:00:00 2001 From: toyobayashi Date: Wed, 25 Dec 2024 00:30:36 +0800 Subject: [PATCH] remove deprecated attribute from napi_module_register --- packages/emnapi/include/node/node_api.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/emnapi/include/node/node_api.h b/packages/emnapi/include/node/node_api.h index aa258d4e..bd1c0a29 100644 --- a/packages/emnapi/include/node/node_api.h +++ b/packages/emnapi/include/node/node_api.h @@ -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);