| 676 | (uint32_t, const v8::PropertyCallbackInfo<v8::Boolean> &); |
| 677 | |
| 678 | static |
| 679 | v8::Intercepted IndexQueryCallbackWrapper( |
| 680 | uint32_t index, const v8::PropertyCallbackInfo<v8::Integer> &info) { |
| 681 | v8::Local<v8::Object> obj = info.Data().As<v8::Object>(); |
| 682 | PropertyCallbackInfo<v8::Integer> |
| 683 | cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>()); |
| 684 | IndexQueryCallback callback = reinterpret_cast<IndexQueryCallback>( |
| 685 | reinterpret_cast<intptr_t>( |
| 686 | Nan::GetExternalValue(obj->GetInternalField(kIndexPropertyQueryIndex) |
| 687 | .As<v8::Value>().As<v8::External>()))); |
| 688 | return callback(index, cbinfo); |
| 689 | } |
| 690 | |
| 691 | typedef v8::Intercepted (*NativeIndexQuery) |
| 692 | (uint32_t, const v8::PropertyCallbackInfo<v8::Integer> &); |
nothing calls this directly
no test coverage detected