File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
* [ Assertion Testing] ( assert.html )
9
9
* [ Buffer] ( buffer.html )
10
- * [ C/C ++ Addons] ( addons.html )
10
+ * [ C++ Addons] ( addons.html )
11
11
* [ C/C++ Addons - N-API] ( n-api.html )
12
12
* [ Child Processes] ( child_process.html )
13
13
* [ Cluster] ( cluster.html )
Original file line number Diff line number Diff line change 1
- # C/C ++ Addons
1
+ # C++ Addons
2
2
3
- Node.js Addons are dynamically-linked shared objects, written in C or C ++, that
3
+ Node.js Addons are dynamically-linked shared objects, written in C++, that
4
4
can be loaded into Node.js using the [ ` require() ` ] [ require ] function, and used
5
5
just as if they were an ordinary Node.js module. They are used primarily to
6
6
provide an interface between JavaScript running in Node.js and C/C++ libraries.
@@ -26,7 +26,7 @@ involving knowledge of several components and APIs :
26
26
off-loading work via libuv to non-blocking system operations, worker threads
27
27
or a custom use of libuv's threads.
28
28
29
- - Internal Node.js libraries. Node.js itself exports a number of C/C ++ APIs
29
+ - Internal Node.js libraries. Node.js itself exports a number of C++ APIs
30
30
that Addons can use &mdash ; the most important of which is the
31
31
` node::ObjectWrap ` class.
32
32
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ compiled for one version to run on later versions of Node.js without
12
12
recompilation.
13
13
14
14
Addons are built/packaged with the same approach/tools
15
- outlined in the section titled [ C/C ++ Addons] ( addons.html ) .
15
+ outlined in the section titled [ C++ Addons] ( addons.html ) .
16
16
The only difference is the set of APIs that are used by the native code.
17
17
Instead of using the V8 or [ Native Abstractions for Node.js] [ ] APIs,
18
18
the functions available in the N-API are used.
You can’t perform that action at this time.
0 commit comments