File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,14 @@ example is: [node-addon-api](https://github.com/nodejs/node-addon-api).
46
46
47
47
Although N-API provides an ABI stability guarantee, other parts of Node.js do
48
48
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:
50
51
* the Node.js C++ APIs available via any of
51
52
```C++
53
+ #include <node.h>
52
54
#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>
59
55
#include <node_version.h>
56
+ #include <node_object_wrap.h>
60
57
```
61
58
* the libuv APIs which are also included with Node.js and available via
62
59
```C++
@@ -72,7 +69,7 @@ must make use exclusively of N-API by restricting itself to using
72
69
```C
73
70
#include <node_api.h>
74
71
```
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
76
73
library makes ABI stability guarantees similar to N-API.
77
74
78
75
## Usage
You can’t perform that action at this time.
0 commit comments