From 2488bc0c4f315af369074ca41fb8dd45d8654e68 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 14 Sep 2021 14:22:51 +0200 Subject: [PATCH] doc: clean up weird notes about reentrancy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All N-API methods are reentrant, it does not make sense to talk about specific ones here. Some of these methods can run JS code, which of course can run other N-API code. For those methods, let’s note that down explicitly. PR-URL: https://github.com/nodejs/node/pull/40107 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- doc/api/n-api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/n-api.md b/doc/api/n-api.md index d06cbd1ba70481..289fc4490129b0 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -3303,7 +3303,6 @@ Returns `napi_ok` if the API succeeded. This API implements the abstract operation `ToBoolean()` as defined in [Section 7.1.2][] of the ECMAScript Language Specification. -This API can be re-entrant if getters are defined on the passed-in `Object`. ### napi_coerce_to_number