| 388 | #endif |
| 389 | |
| 390 | static |
| 391 | void PropertyEnumeratorCallbackWrapper( |
| 392 | const v8::PropertyCallbackInfo<v8::Array> &info) { |
| 393 | v8::Local<v8::Object> obj = info.Data().As<v8::Object>(); |
| 394 | PropertyCallbackInfo<v8::Array> |
| 395 | cbinfo(info, obj->GetInternalField(kDataIndex).As<v8::Value>()); |
| 396 | PropertyEnumeratorCallback callback = |
| 397 | reinterpret_cast<PropertyEnumeratorCallback>(reinterpret_cast<intptr_t>( |
| 398 | Nan::GetExternalValue(obj->GetInternalField(kPropertyEnumeratorIndex) |
| 399 | .As<v8::Value>().As<v8::External>()))); |
| 400 | callback(cbinfo); |
| 401 | } |
| 402 | |
| 403 | typedef void (*NativePropertyEnumerator) |
| 404 | (const v8::PropertyCallbackInfo<v8::Array> &); |
nothing calls this directly
no test coverage detected