MCPcopy Create free account
hub / github.com/nodejs/nan / SetMethodAux

Function SetMethodAux

nan.h:2586–2593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2584// is unused.
2585template <typename T>
2586inline
2587void
2588SetMethodAux(T recv,
2589 v8::Local<v8::String> name,
2590 v8::Local<v8::FunctionTemplate> tpl,
2591 v8::Template *) {
2592 recv->Set(name, tpl);
2593}
2594
2595template <typename T>
2596inline

Callers 1

SetMethodFunction · 0.85

Calls 4

ToLocalCheckedMethod · 0.80
SetFunction · 0.70
GetFunctionFunction · 0.70
SetMethod · 0.45

Tested by

no test coverage detected