Skip to content

Missing napi_type_tag_object? #1260

Closed
Closed
@audetto

Description

@audetto

Should the raw api napi_type_tag_object be exposed?

I use External<T> but there is no way to know if the external is of the right type, and a reinterpret_cast will cause seg fault for any javascript error passing an external for another?

I guess I can call it directly on the napi_value. I was just wondering.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions