| 329 | (v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &); |
| 330 | |
| 331 | static |
| 332 | v8::Intercepted PropertySetterCallbackWrapper( |
| 333 | v8::Local<v8::Name> property |
| 334 | , v8::Local<v8::Value> value |
| 335 | , const v8::PropertyCallbackInfo<void> &info) { |
| 336 | v8::Local<v8::Object> obj = info.Data().As<v8::Object>(); |
| 337 | PropertyCallbackInfo<void> |
| 338 | cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>()); |
| 339 | PropertySetterCallback callback = reinterpret_cast<PropertySetterCallback>( |
| 340 | reinterpret_cast<intptr_t>( |
| 341 | Nan::GetExternalValue(obj->GetInternalField(kPropertySetterIndex) |
| 342 | .As<v8::Value>().As<v8::External>()))); |
| 343 | return callback(property.As<v8::String>(), value, cbinfo); |
| 344 | } |
| 345 | |
| 346 | typedef v8::Intercepted (*NativePropertySetter)( |
| 347 | v8::Local<v8::Name> |
nothing calls this directly
no test coverage detected