Commit bb3cbba9 authored by Gabriel Schulhof's avatar Gabriel Schulhof
Browse files

doc: de-emphasize wrapping in napi_define_class



Change the documentation for `napi_define_class` in such a way that
it mentions wrapping C++ class instances as a possible use for the API,
rather than making the assumption that it is the use case for the API.

Signed-off-by: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Co-authored-by: default avatarRich Trott <rtrott@gmail.com>
Fixes: https://github.com/nodejs/node/issues/36150
PR-URL: https://github.com/nodejs/node/pull/36159


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarMichael Dawson <midawson@redhat.com>
parent 39e4d82c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment