Commit 5f95dca
node-api: introduce experimental feature flags
Add a flag for each experimental feature to indicate its presence.
That way, if we compile with `NAPI_EXPERIMENTAL` turned on, we'll be
able to distinguish between what `NAPI_EXPERIMENTAL` used to mean on an
old version of the headers when compiling against such an old version,
and what it means on a new version of Node.js.
PR-URL: #50991
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Vladimir Morozov <vmorozov@microsoft.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>1 parent c0e5e74 commit 5f95dcaCopy full SHA for 5f95dca
File tree
Expand file treeCollapse file tree
3 files changed
+8
-0
lines changedOpen diff view settings
Filter options
- doc/contributing
- src
Expand file treeCollapse file tree
3 files changed
+8
-0
lines changedOpen diff view settings
Collapse file
doc/contributing/adding-new-napi-api.md
Copy file name to clipboardExpand all lines: doc/contributing/adding-new-napi-api.md+4Lines changed: 4 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
37 | 41 | |
38 | 42 | |
39 | 43 | |
|
Collapse file
doc/contributing/releases-node-api.md
Copy file name to clipboardExpand all lines: doc/contributing/releases-node-api.md+2Lines changed: 2 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
| 103 | + |
| 104 | + |
103 | 105 | |
104 | 106 | |
105 | 107 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
93 | 93 | |
94 | 94 | |
95 | 95 | |
| 96 | + |
96 | 97 | |
97 | 98 | |
98 | 99 | |
| ||
518 | 519 | |
519 | 520 | |
520 | 521 | |
| 522 | + |
521 | 523 | |
522 | 524 | |
523 | 525 | |
|
0 commit comments