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
{{ message }}
Repository navigation
Modify doc for napi_define_class to be less C++-specific #36150
The doc for napi_define_class pretty much assumes an ObjectWrap scenario in that a C++ class will be associated one-to-one with the JS class being defined. This is not necessarily and always the case. We should limit the doc to what can be done in C.
Activity
gabrielschulhof commentedon Nov 18, 2020
... or at least de-emphasize the ObjectWrap use case.
doc: de-emphasize wrapping in napi_define_class
doc: de-emphasize wrapping in napi_define_class
doc: de-emphasize wrapping in napi_define_class
doc: de-emphasize wrapping in napi_define_class
doc: de-emphasize wrapping in napi_define_class
doc: de-emphasize wrapping in napi_define_class