This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add node::SetMethod and node::SetPrototypeMethod
defines cannot be used if the callback is a templated and has multiple template arguments. The comma separating the arguments breaks the preprocessor argument handling. Using a templated function is clearer and more idiomatic in c++.
- Loading branch information
1 parent
836344c
commit e97b961
Showing
1 changed file
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters