Skip to content

Commit 7ba8ae4

Browse files
author
Gabriel Schulhof
committed
squash! address review comments
1 parent 78bf7ab commit 7ba8ae4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

doc/api/n-api.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,14 @@ example is: [node-addon-api](https://github.com/nodejs/node-addon-api).
4646

4747
Although N-API provides an ABI stability guarantee, other parts of Node.js do
4848
not, and any external libraries used from the addon may not. In particular,
49-
neither of the following Node.js APIs provides an ABI stability guarantee:
49+
none of the following APIs provide an ABI stability guarantee across major
50+
versions:
5051
* the Node.js C++ APIs available via any of
5152
```C++
53+
#include <node.h>
5254
#include <node_buffer.h>
53-
#include <node_context_data.h>
54-
#include <node_contextify.h>
55-
#include <node_mutex.h>
56-
#include <node_object_wrap.h>
57-
#include <node_perf_common.h>
58-
#include <node_platform.h>
5955
#include <node_version.h>
56+
#include <node_object_wrap.h>
6057
```
6158
* the libuv APIs which are also included with Node.js and available via
6259
```C++
@@ -72,7 +69,7 @@ must make use exclusively of N-API by restricting itself to using
7269
```C
7370
#include <node_api.h>
7471
```
75-
and by checking, for all external library that it uses, that the external
72+
and by checking, for all external libraries that it uses, that the external
7673
library makes ABI stability guarantees similar to N-API.
7774

7875
## Usage

0 commit comments

Comments
 (0)