Skip to content

Modify doc for napi_define_class to be less C++-specific #36150

@gabrielschulhof

Description

@gabrielschulhof

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.

Metadata

Metadata

Assignees

No one assigned

    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