| 4286 | |
| 4287 | template <typename PropertyDescriptor::GetterCallback Getter> |
| 4288 | PropertyDescriptor PropertyDescriptor::Accessor( |
| 4289 | const char* utf8name, napi_property_attributes attributes, void* data) { |
| 4290 | napi_property_descriptor desc = napi_property_descriptor(); |
| 4291 | |
| 4292 | desc.utf8name = utf8name; |
| 4293 | desc.getter = details::TemplatedCallback<Getter>; |
| 4294 | desc.attributes = attributes; |
| 4295 | desc.data = data; |
| 4296 | |
| 4297 | return desc; |
| 4298 | } |
| 4299 | |
| 4300 | template <typename PropertyDescriptor::GetterCallback Getter> |
| 4301 | PropertyDescriptor PropertyDescriptor::Accessor( |
nothing calls this directly
no test coverage detected