Skip to content

Commit abfd4bf

Browse files
BethGriggssam-github
authored andcommitted
doc: clarify node.js addons are c++
PR-URL: #12898 Fixes: #7129 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Timothy Gu <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 631cb42 commit abfd4bf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/api/_toc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
* [Assertion Testing](assert.html)
99
* [Buffer](buffer.html)
10-
* [C/C++ Addons](addons.html)
10+
* [C++ Addons](addons.html)
1111
* [C/C++ Addons - N-API](n-api.html)
1212
* [Child Processes](child_process.html)
1313
* [Cluster](cluster.html)

doc/api/addons.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# C/C++ Addons
1+
# C++ Addons
22

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
44
can be loaded into Node.js using the [`require()`][require] function, and used
55
just as if they were an ordinary Node.js module. They are used primarily to
66
provide an interface between JavaScript running in Node.js and C/C++ libraries.
@@ -26,7 +26,7 @@ involving knowledge of several components and APIs :
2626
off-loading work via libuv to non-blocking system operations, worker threads
2727
or a custom use of libuv's threads.
2828

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
3030
that Addons can use &mdash; the most important of which is the
3131
`node::ObjectWrap` class.
3232

doc/api/n-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ compiled for one version to run on later versions of Node.js without
1212
recompilation.
1313

1414
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).
1616
The only difference is the set of APIs that are used by the native code.
1717
Instead of using the V8 or [Native Abstractions for Node.js][] APIs,
1818
the functions available in the N-API are used.

0 commit comments

Comments
 (0)