Skip to content

Commit

Permalink
node-api: factor out common code into macros
Browse files Browse the repository at this point in the history
    * Create macro for checking new string arguments.
    * Create macro for combining env check and inside-gc check.

PR-URL: #50664
Reviewed-By: Vladimir Morozov <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Backport-PR-URL: #51804
(cherry picked from commit 5e250bd)
  • Loading branch information
gabrielschulhof authored and richardlau committed Mar 22, 2024
1 parent 3d0b233 commit 1aa71c2
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 141 deletions.
Loading

0 comments on commit 1aa71c2

Please sign in to comment.