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 <vmorozov@microsoft.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
gabrielschulhof authored and UlisesGascon committed Dec 11, 2023
1 parent 3d43fd3 commit cf3a4c5
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 141 deletions.
Loading

0 comments on commit cf3a4c5

Please sign in to comment.