Skip to content

Commit 5b04537

Browse files
BethGriggsMylesBorins
authored andcommittedApr 16, 2018
doc: clarify node.js addons are c++
Backport-PR-URL: #19447 PR-URL: #12898 Fixes: #7129 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 5936f7c commit 5b04537

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,8 +1,8 @@
1-
# C/C++ Addons
1+
# C++ Addons
22

33
<!--introduced_in=v0.10.0-->
44

5-
Node.js Addons are dynamically-linked shared objects, written in C or C++, that
5+
Node.js Addons are dynamically-linked shared objects, written in C++, that
66
can be loaded into Node.js using the [`require()`][require] function, and used
77
just as if they were an ordinary Node.js module. They are used primarily to
88
provide an interface between JavaScript running in Node.js and C/C++ libraries.
@@ -28,7 +28,7 @@ involving knowledge of several components and APIs :
2828
off-loading work via libuv to non-blocking system operations, worker threads
2929
or a custom use of libuv's threads.
3030

31-
- Internal Node.js libraries. Node.js itself exports a number of C/C++ APIs
31+
- Internal Node.js libraries. Node.js itself exports a number of C++ APIs
3232
that Addons can use &mdash; the most important of which is the
3333
`node::ObjectWrap` class.
3434

‎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)
Please sign in to comment.