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

node-api: declare type napi_cleanup_hook #45391

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

legendecas
Copy link
Member

@legendecas legendecas commented Nov 9, 2022

Declare type napi_cleanup_hook so that the function signature can be
shared across the codebase.

This has no behavioral change. The type declaration can be available once
addons updated their node-api header files, e.g. with https://github.com/nodejs/node-api-headers.

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/node-api

@nodejs-github-bot 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. needs-ci PRs that need a full CI run. labels Nov 9, 2022
@legendecas legendecas added the node-api Issues and PRs related to the Node-API. label Nov 9, 2022
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.
Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@daeyeon daeyeon added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 9, 2022
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 9, 2022
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

Copy link
Contributor

@KevinEady KevinEady left a comment

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@legendecas legendecas added the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 19, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Nov 19, 2022
@nodejs-github-bot nodejs-github-bot merged commit 62cde61 into nodejs:main Nov 19, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in 62cde61

@legendecas legendecas deleted the node-api/cleanup-hooks branch November 19, 2022 17:37
ruyadorno pushed a commit that referenced this pull request Nov 21, 2022
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
marco-ippolito pushed a commit to marco-ippolito/node that referenced this pull request Nov 23, 2022
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: nodejs#45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
@ruyadorno ruyadorno mentioned this pull request Nov 24, 2022
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
danielleadams pushed a commit that referenced this pull request Dec 30, 2022
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 3, 2023
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 4, 2023
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
danielleadams pushed a commit that referenced this pull request Jan 5, 2023
Declare type `napi_cleanup_hook` so that the function signature can be
shared across the codebase.

PR-URL: #45391
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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. needs-ci PRs that need a full CI run. node-api Issues and PRs related to the Node-API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants