Commit 6dc6dad
doc: avoid referring to C array size
The size of arrays is measured in bytes in C, not in the number of
elements. The napi_get_cb_info function takes the length of the
array, that is, the number of elements it can contain, and not its size.
PR-URL: #35300
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com>1 parent 0a847ca commit 6dc6dad
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4388 | 4388 | | |
4389 | 4389 | | |
4390 | 4390 | | |
4391 | | - | |
4392 | | - | |
| 4391 | + | |
| 4392 | + | |
4393 | 4393 | | |
4394 | 4394 | | |
4395 | 4395 | | |
| |||
0 commit comments