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++.
parent
836344c9
Please register or sign in to comment