Skip to content

Commit

Permalink
doc: fix missing napi_get_typedarray_info() param
Browse files Browse the repository at this point in the history
Also, make the type name notation more consistent.

PR-URL: #20631
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
  • Loading branch information
Gabriel Schulhof authored and targos committed May 12, 2018
1 parent 8604481 commit d568952
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/n-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down

0 comments on commit d568952

Please sign in to comment.