Commit 4724e07
doc: indicate n-api out params that may be NULL
This is useful information to have for applications that don't need to read the other properties. The implementation checks for `nullptr`, see: https://github.com/nodejs/node/blob/master/src/js_native_api_v8.cc#L2879
PR-URL: #40371
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent e2c9e1c commit 4724e07Copy full SHA for 4724e07
File tree
Expand file treeCollapse file tree
1 file changed
+4
-0
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+4
-0
lines changedOpen diff view settings
Collapse file
+4Lines changed: 4 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2821 | 2821 | |
2822 | 2822 | |
2823 | 2823 | |
| 2824 | + |
| 2825 | + |
2824 | 2826 | |
2825 | 2827 | |
2826 | 2828 | |
| ||
2851 | 2853 | |
2852 | 2854 | |
2853 | 2855 | |
| 2856 | + |
| 2857 | + |
2854 | 2858 | |
2855 | 2859 | |
2856 | 2860 | |
|
0 commit comments