Skip to content

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 force-pushed the node-api/cleanup-hooks branch from 2368d67 to 952b7f7 Compare November 9, 2022 17:12
@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.
@legendecas legendecas force-pushed the node-api/cleanup-hooks branch from 952b7f7 to 43b8a91 Compare November 9, 2022 17:23
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