| 139 | } |
| 140 | |
| 141 | Local <v8::FunctionTemplate> NewFunctionTemplate( |
| 142 | v8::Isolate *isolate, |
| 143 | v8::FunctionCallback callback, |
| 144 | Local <v8::Value> data, |
| 145 | Local <v8::Signature> signature, |
| 146 | v8::ConstructorBehavior behavior, |
| 147 | v8::SideEffectType side_effect_type, |
| 148 | const v8::CFunction *c_function) { |
| 149 | return v8::FunctionTemplate::New(isolate, |
| 150 | callback, |
| 151 | data, |
| 152 | signature, |
| 153 | 0, |
| 154 | behavior, |
| 155 | side_effect_type, |
| 156 | c_function); |
| 157 | } |
| 158 | |
| 159 | void SetMethod(Local <v8::Context> context, |
| 160 | Local <v8::Object> that, |
no test coverage detected