From b4b24483ee0237ccf882a3e124cb6806c54a291f Mon Sep 17 00:00:00 2001 From: Silur Date: Fri, 3 Jun 2016 11:25:43 +0200 Subject: [PATCH 1/2] removing misleading C extending possibility --- doc/api/addons.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index 3dacf88064b858..464e658b10937b 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1,9 +1,9 @@ # Addons -Node.js Addons are dynamically-linked shared objects, written in C or C++, that +Node.js Addons are dynamically-linked shared objects, written in C++, that can be loaded into Node.js using the [`require()`][require] function, and used just as if they were an ordinary Node.js module. They are used primarily to -provide an interface between JavaScript running in Node.js and C/C++ libraries. +provide an interface between JavaScript running in Node.js and C++ libraries. At the moment, the method for implementing Addons is rather complicated, involving knowledge of several components and APIs : @@ -26,7 +26,7 @@ involving knowledge of several components and APIs : off-loading work via libuv to non-blocking system operations, worker threads or a custom use of libuv's threads. - - Internal Node.js libraries. Node.js itself exports a number of C/C++ APIs + - Internal Node.js libraries. Node.js itself exports a number of C++ APIs that Addons can use — the most important of which is the `node::ObjectWrap` class. From 502f70129112709f72e454bdfdf59a5de24af9ad Mon Sep 17 00:00:00 2001 From: Silur Date: Fri, 3 Jun 2016 16:30:28 +0200 Subject: [PATCH 2/2] double space typo --- doc/api/addons.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index 464e658b10937b..150805e25a9298 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -1,6 +1,6 @@ # Addons -Node.js Addons are dynamically-linked shared objects, written in C++, that +Node.js Addons are dynamically-linked shared objects, written in C++, that can be loaded into Node.js using the [`require()`][require] function, and used just as if they were an ordinary Node.js module. They are used primarily to provide an interface between JavaScript running in Node.js and C++ libraries.