Commit 16c6903
n-api: rename 'promise' parameter to 'value'
This change makes it clear that the value doesn't need to be a
Promise, and makes the signature consistent with other napi_is_*
functions.
PR-URL: #31544
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent f5663d9 commit 16c6903
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4903 | 4903 | | |
4904 | 4904 | | |
4905 | 4905 | | |
4906 | | - | |
| 4906 | + | |
4907 | 4907 | | |
4908 | 4908 | | |
4909 | 4909 | | |
4910 | 4910 | | |
4911 | | - | |
| 4911 | + | |
4912 | 4912 | | |
4913 | 4913 | | |
4914 | 4914 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2911 | 2911 | | |
2912 | 2912 | | |
2913 | 2913 | | |
2914 | | - | |
| 2914 | + | |
2915 | 2915 | | |
2916 | 2916 | | |
2917 | | - | |
| 2917 | + | |
2918 | 2918 | | |
2919 | 2919 | | |
2920 | | - | |
| 2920 | + | |
2921 | 2921 | | |
2922 | 2922 | | |
2923 | 2923 | | |
| |||
0 commit comments