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

Function NAN_METHOD

test/cpp/indexedinterceptors.cpp:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30static Persistent<v8::FunctionTemplate> indexedinterceptors_constructor;
31
32NAN_METHOD(CreateNew) {
33 info.GetReturnValue().Set(IndexedInterceptor::NewInstance());
34}
35
36NAN_MODULE_INIT(IndexedInterceptor::Init) {
37 v8::Local<v8::FunctionTemplate> tpl =

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected