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

Class SetterGetter

test/cpp/methodswithdata.cpp:23–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23class SetterGetter : public ObjectWrap {
24 public:
25 static NAN_MODULE_INIT(Init);
26 static v8::Local<v8::Value> NewInstance ();
27 static NAN_METHOD(New);
28 static NAN_METHOD(Log);
29 static NAN_GETTER(GetProp1);
30 static NAN_GETTER(GetProp2);
31 static NAN_SETTER(SetProp2);
32
33 SetterGetter();
34
35 char log[1024];
36 char prop1[256];
37 char prop2[256];
38};
39
40static Persistent<v8::FunctionTemplate> settergetter_constructor;
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected