Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: improve consistency in usage of NULL #32726

Closed
wants to merge 3 commits into from

Conversation

mhdawson
Copy link
Member

@mhdawson mhdawson commented Apr 8, 2020

  • add backticks around use of NULL
  • convert from null to NULL where we mean
    NULL

Signed-off-by: Michael Dawson [email protected]

Not 100% sure about the conversion from null to NULL, depending on what people think I can back that part out. The changes to add the backticks is based on a suggestion in another PR and this fixes other places in the doc so that we are consistent.

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

- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API. labels Apr 8, 2020
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
doc/api/n-api.md Outdated Show resolved Hide resolved
@mhdawson
Copy link
Member Author

@addaleax thanks, I was not sure those made sense, removed and should be ready for another look.

@addaleax addaleax added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. review wanted PRs that need reviews. labels Apr 14, 2020
doc/api/n-api.md Outdated
@@ -12,7 +12,7 @@ Node.js itself. This API will be Application Binary Interface (ABI) stable
across versions of Node.js. It is intended to insulate Addons from
changes in the underlying JavaScript engine and allow modules
compiled for one major version to run on later major versions of Node.js without
recompilation. The [ABI Stability][] guide provides a more in-depth explanation.
recompilation. The [ABI Stability][] guide provides a mor'e in-depth explanation.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
recompilation. The [ABI Stability][] guide provides a mor'e in-depth explanation.
recompilation. The [ABI Stability][] guide provides a more in-depth explanation.

@mhdawson
Copy link
Member Author

@jasnell I think I fixed that while you were commenting :)

@mhdawson
Copy link
Member Author

Github actions linter was good and this is doc only so landing.

mhdawson added a commit that referenced this pull request Apr 16, 2020
- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #32726
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Christopher Hiller <[email protected]>
@mhdawson
Copy link
Member Author

Landed in 8ce6f5f

@mhdawson mhdawson closed this Apr 16, 2020
MylesBorins pushed a commit that referenced this pull request Apr 17, 2020
- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #32726
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Christopher Hiller <[email protected]>
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: nodejs#32726
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Christopher Hiller <[email protected]>
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #32726
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Christopher Hiller <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Apr 28, 2020
targos pushed a commit that referenced this pull request Apr 28, 2020
- add backticks around use of NULL
- convert from null to NULL where we mean
  NULL

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #32726
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Christopher Hiller <[email protected]>
@mhdawson mhdawson deleted the napi-null branch September 14, 2020 21:19
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 pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. node-api Issues and PRs related to the Node-API. review wanted PRs that need reviews.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants