Skip to content

Get napi_callback_info from Napi::CallbackInfo? #1234

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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