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

Commit 27c860c

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 c3cf00c commit 27c860c

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)