From 06dc96fa7cc91c9ba4c776f73fef0e509f853ab2 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Wed, 9 May 2018 10:24:01 -0400 Subject: doc: fix missing napi_get_typedarray_info() param Also, make the type name notation more consistent. PR-URL: https://github.com/nodejs/node/pull/20631 Reviewed-By: James M Snell Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Colin Ihrig Reviewed-By: Vse Mozhet Byt --- doc/api/n-api.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/api/n-api.md') diff --git a/doc/api/n-api.md b/doc/api/n-api.md index 17958c8daf..739213c155 100644 --- a/doc/api/n-api.md +++ b/doc/api/n-api.md @@ -1697,8 +1697,9 @@ napi_status napi_get_typedarray_info(napi_env env, - `[in] typedarray`: `napi_value` representing the `TypedArray` whose properties to query. - `[out] type`: Scalar datatype of the elements within the `TypedArray`. -- `[out] length`: `Number` of elements in the `TypedArray`. -- `[out] data`: The data buffer underlying the typed array. +- `[out] length`: The number of elements in the `TypedArray`. +- `[out] data`: The data buffer underlying the `TypedArray`. +- `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`. - `[out] byte_offset`: The byte offset within the data buffer from which to start projecting the `TypedArray`. -- cgit v1.2.3