You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 areinterpret_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.The text was updated successfully, but these errors were encountered: