Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d568952

Browse filesBrowse files
Gabriel Schulhoftargos
authored andcommitted
doc: fix missing napi_get_typedarray_info() param
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>
1 parent 8604481 commit d568952
Copy full SHA for d568952

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/n-api.md‎

Copy file name to clipboardExpand all lines: doc/api/n-api.md
+3-2Lines changed: 3 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1697,8 +1697,9 @@ napi_status napi_get_typedarray_info(napi_env env,
16971697
- `[in] typedarray`: `napi_value` representing the `TypedArray` whose
16981698
properties to query.
16991699
- `[out] type`: Scalar datatype of the elements within the `TypedArray`.
1700-
- `[out] length`: `Number` of elements in the `TypedArray`.
1701-
- `[out] data`: The data buffer underlying the typed array.
1700+
- `[out] length`: The number of elements in the `TypedArray`.
1701+
- `[out] data`: The data buffer underlying the `TypedArray`.
1702+
- `[out] arraybuffer`: The `ArrayBuffer` underlying the `TypedArray`.
17021703
- `[out] byte_offset`: The byte offset within the data buffer from which
17031704
to start projecting the `TypedArray`.
17041705

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.