FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: add missing `NODE_WANT_INTERNALS` guards by addaleax · Pull Request #22514 · nodejs/node · GitHub

/ node Public

src: add missing NODE_WANT_INTERNALS guards - #22514

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:missing-wants-internals
Closed

src: add missing NODE_WANT_INTERNALS guards#22514
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:missing-wants-internals

Conversation

Copy link
Copy Markdown
Member

We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).
addaleax added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. dont-land-on-v8.x labels Aug 24, 2018

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Aug 24, 2018

Copy link
Copy Markdown
Member Author

addaleax added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 28, 2018

Copy link
Copy Markdown
Member

just wondering. Is it possible to add this macro to v8-inspector.h as well inside v8 folder or there is only one option to land something to V8 by itself and then backport it to Node 11?

Copy link
Copy Markdown
Member Author

@ak239 I think that would be a question for @nodejs/v8-update … we don’t usually modify V8’s source files if we can avoid it, though.

Would it help if we removed v8-inspector{,-protocol}.h from the headers tarball that we publish alongside with Node?

Copy link
Copy Markdown
Member

@addaleax,

Nice idea, it should help. As long as these headers are not available for native modules and we do not need to maintain ABI compatibility for them it will work. I will try to upload PR for this soon. Thanks!

Copy link
Copy Markdown
Member Author

Landed in 09fce85

addaleax closed this Aug 28, 2018
addaleax deleted the missing-wants-internals branch August 28, 2018 15:14
addaleax added a commit that referenced this pull request Aug 28, 2018
We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).

PR-URL: #22514
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax added a commit that referenced this pull request Aug 28, 2018
We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).

PR-URL: #22514
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Sep 3, 2018
We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).

PR-URL: #22514
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Sep 6, 2018
We generally add these to all headers that are considered
internal to Node.

These aren’t distributed as part of the headers tarball,
so I think this does not have to be semver-major
(and we have been changing the APIs in these headers
freely anyway).

PR-URL: #22514
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL