joyent/node — pull request #2643 by shtylman (2012-01-30 17:03:25+00:00)
Title: 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++.