summaryrefslogtreecommitdiff
path: root/doc/api/n-api.md
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2017-08-13 22:33:49 +0200
committerEvan Lucas <evanlucas@me.com>2017-08-15 15:05:22 -0500
commit1fe0741e50b19ffaaabc77c3a8b99355dc3d28fe (patch)
treebf1e8567b6a21dc469f701c591965a999a2ad3f9 /doc/api/n-api.md
parent5f31d547201db8176a8ae9cc3b673f0840fff705 (diff)
downloadnode-new-v6.tar.gz
2017-08-15, Version 8.4.0 (Current)v6
Notable changes * **HTTP2** * Experimental support for the built-in `http2` has been added via the `--expose-http2` flag. [#14239](https://github.com/nodejs/node/pull/14239) * **Inspector** * `require()` is available in the inspector console now. [#8837](https://github.com/nodejs/node/pull/8837) * Multiple contexts, as created by the `vm` module, are supported now. [#14465](https://github.com/nodejs/node/pull/14465) * **N-API** * New APIs for creating number values have been introduced. [#14573](https://github.com/nodejs/node/pull/14573) * **Stream** * For `Duplex` streams, the high water mark option can now be set independently for the readable and the writable side. [#14636](https://github.com/nodejs/node/pull/14636) * **Util** * `util.format` now supports the `%o` and `%O` specifiers for printing objects. [#14558](https://github.com/nodejs/node/pull/14558) PR-URL: https://github.com/nodejs/node/pull/14811
Diffstat (limited to 'doc/api/n-api.md')
-rw-r--r--doc/api/n-api.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/n-api.md b/doc/api/n-api.md
index 04af7a6272..109674a4bf 100644
--- a/doc/api/n-api.md
+++ b/doc/api/n-api.md
@@ -1374,7 +1374,7 @@ JavaScript DataView Objects are described in
### Functions to convert from C types to N-API
#### *napi_create_int32*
<!-- YAML
-added: REPLACEME
+added: v8.4.0
-->
```C
napi_status napi_create_int32(napi_env env, int32_t value, napi_value* result)
@@ -1395,7 +1395,7 @@ of the ECMAScript Language Specification.
#### *napi_create_uint32*
<!-- YAML
-added: REPLACEME
+added: v8.4.0
-->
```C
napi_status napi_create_uint32(napi_env env, uint32_t value, napi_value* result)
@@ -1416,7 +1416,7 @@ of the ECMAScript Language Specification.
#### *napi_create_int64*
<!-- YAML
-added: REPLACEME
+added: v8.4.0
-->
```C
napi_status napi_create_int64(napi_env env, int64_t value, napi_value* result)
@@ -1443,7 +1443,7 @@ outside the range of
#### *napi_create_double*
<!-- YAML
-added: REPLACEME
+added: v8.4.0
-->
```C
napi_status napi_create_double(napi_env env, double value, napi_value* result)
@@ -3287,7 +3287,7 @@ callback invocation, even if it has been successfully cancelled.
### napi_get_node_version
<!-- YAML
-added: REPLACEME
+added: v8.4.0
-->
```C