| 421 | (v8::Local<v8::String>, const v8::AccessorInfo &); |
| 422 | |
| 423 | static |
| 424 | v8::Handle<v8::Integer> PropertyQueryCallbackWrapper( |
| 425 | v8::Local<v8::String> property, const v8::AccessorInfo &info) { |
| 426 | v8::Local<v8::Object> obj = info.Data().As<v8::Object>(); |
| 427 | PropertyCallbackInfo<v8::Integer> |
| 428 | cbinfo(info, obj->GetInternalField(kDataIndex)); |
| 429 | PropertyQueryCallback callback = reinterpret_cast<PropertyQueryCallback>( |
| 430 | reinterpret_cast<intptr_t>( |
| 431 | obj->GetInternalField(kPropertyQueryIndex) |
| 432 | .As<v8::External>()->Value())); |
| 433 | callback(property, cbinfo); |
| 434 | return ReturnValueImp<v8::Integer>(cbinfo.GetReturnValue()).Value(); |
| 435 | } |
| 436 | |
| 437 | typedef v8::Handle<v8::Integer> (*NativePropertyQuery) |
| 438 | (v8::Local<v8::String>, const v8::AccessorInfo &); |
nothing calls this directly
no test coverage detected