Closed
Description
For example, apparently (according to examples) it’s ok to pass NULL
as thisArg
and data
to napi_get_cb_info
if you don’t want to retrieve it, but this is not mentioned in the docs.
Some other places like napi_wrap mention “optional” explicitly for out params, might be a good idea to go through other functions too and explicitly specify when pointer is "optional" or when it must be non-NULL.
Metadata
Metadata
Assignees
Labels
No labels