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

Class MyObject

test/cpp/settemplate.cpp:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace Nan; // NOLINT(build/namespaces)
12
13class MyObject : public node::ObjectWrap {
14 public:
15 static NAN_MODULE_INIT(Init);
16
17 private:
18 MyObject();
19 ~MyObject();
20
21 static NAN_METHOD(New);
22 static Persistent<v8::Function> constructor;
23};
24
25Persistent<v8::Function> MyObject::constructor;
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected