Skip to content

Get napi_callback_info from Napi::CallbackInfo? #1234

@erikjalevik

Description

@erikjalevik

Is there no way to get hold of the wrapped napi_callback_info from a Napi::CallbackInfo?

I need to call a function that's been written to accept the C NAPI type from one written with node-addon-api's C++ classes.

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