src: move Node-API version detection to where it is used · nodejs/node@de78da7 · GitHub
Skip to content

Commit de78da7

Browse files
addaleaxaduh95
authored andcommitted
src: move Node-API version detection to where it is used
`src/js_native_api_types.h` and other files actually depend on the moved macros being evaluated, so before this change there was an implicit requirement that `src/js_native_api.h` would be included separately before any include of `src/js_native_api_types.h`, direct or transitive. PR-URL: #60512 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 07bcd28 commit de78da7

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

src/js_native_api.h

Lines changed: 0 additions & 28 deletions

src/js_native_api_types.h

Lines changed: 28 additions & 0 deletions

0 commit comments

Comments
 (0)