| 40 | static Persistent<v8::FunctionTemplate> settergetter_constructor; |
| 41 | |
| 42 | SetterGetter::SetterGetter() { |
| 43 | log[0] = '\0'; |
| 44 | strncpy(prop1, "this is property 1", sizeof (prop1) - 1); |
| 45 | prop1[sizeof (prop1) - 1] = '\0'; |
| 46 | prop2[0] = '\0'; |
| 47 | } |
| 48 | |
| 49 | v8::Local<v8::Value> SetterGetter::NewInstance () { |
| 50 | EscapableHandleScope scope; |
nothing calls this directly
no outgoing calls
no test coverage detected