@@ -34,16 +34,14 @@ involving knowledge of several components and APIs:
34
34
off-loading work via libuv to non-blocking system operations, worker threads
35
35
or a custom use of libuv's threads.
36
36
37
- * Internal Node.js libraries. Node.js itself exports a number of C++ APIs
38
- that Addons can use &mdash ; the most important of which is the
39
- ` node::ObjectWrap ` class.
37
+ * Internal Node.js libraries. Node.js itself exports C++ APIs that Addons can
38
+ use, the most important of which is the ` node::ObjectWrap ` class.
40
39
41
- * Node.js includes a number of other statically linked libraries including
42
- OpenSSL. These other libraries are located in the ` deps/ ` directory in the
43
- Node.js source tree. Only the libuv, OpenSSL, V8 and zlib symbols are
44
- purposefully re-exported by Node.js and may be used to various extents by
45
- Addons.
46
- See [ Linking to Node.js' own dependencies] [ ] for additional information.
40
+ * Node.js includes other statically linked libraries including OpenSSL. These
41
+ other libraries are located in the ` deps/ ` directory in the Node.js source
42
+ tree. Only the libuv, OpenSSL, V8 and zlib symbols are purposefully
43
+ re-exported by Node.js and may be used to various extents by Addons. See
44
+ [ Linking to Node.js' own dependencies] [ ] for additional information.
47
45
48
46
All of the following examples are available for [ download] [ ] and may
49
47
be used as the starting-point for an Addon.
@@ -331,12 +329,12 @@ try {
331
329
332
330
### Linking to Node.js' own dependencies
333
331
334
- Node.js uses a number of statically linked libraries such as V8, libuv and
335
- OpenSSL. All Addons are required to link to V8 and may link to any of the
336
- other dependencies as well. Typically, this is as simple as including
337
- the appropriate ` #include <...> ` statements (e.g. ` #include <v8.h> ` ) and
338
- ` node-gyp ` will locate the appropriate headers automatically. However, there
339
- are a few caveats to be aware of:
332
+ Node.js uses statically linked libraries such as V8, libuv and OpenSSL. All
333
+ Addons are required to link to V8 and may link to any of the other dependencies
334
+ as well. Typically, this is as simple as including the appropriate
335
+ ` #include <...> ` statements (e.g. ` #include <v8.h> ` ) and ` node-gyp ` will locate
336
+ the appropriate headers automatically. However, there are a few caveats to be
337
+ aware of:
340
338
341
339
* When ` node-gyp ` runs, it will detect the specific release version of Node.js
342
340
and download either the full source tarball or just the headers. If the full
0 commit comments