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

Function NAN_METHOD

test/cpp/accessors.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static Persistent<v8::FunctionTemplate> settergetter_constructor;
32
33NAN_METHOD(CreateNew) {
34 info.GetReturnValue().Set(SetterGetter::NewInstance());
35}
36
37SetterGetter::SetterGetter() {
38 log[0] = '\0';

Callers

nothing calls this directly

Calls 6

WrapMethod · 0.80
ToLocalCheckedMethod · 0.80
NewInstanceFunction · 0.50
NewFunction · 0.50
SetMethod · 0.45
GetReturnValueMethod · 0.45

Tested by

no test coverage detected