src: move `napi_addon_register_func` to `node_api_types.h` · nodejs/node@3b01cbb · GitHub
Skip to content

Commit 3b01cbb

Browse files
addaleaxaduh95
authored andcommitted
src: move napi_addon_register_func to node_api_types.h
This means that `node.h` can include only this file, instead of the entirety of `node_api.h`. Split out from #60496 since it was rightfully pointed out that the breaking part of the change should not touch Node-API headers. PR-URL: #60512 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent ac8e90a commit 3b01cbb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/node_api.h

Lines changed: 0 additions & 4 deletions

src/node_api_types.h

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)