Skip to content

N-API Support #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 6, 2020
Merged

N-API Support #36

merged 8 commits into from
Aug 6, 2020

Conversation

jschlight
Copy link
Collaborator

This PR replaces the current NAN implementation with an N-API implementation targeted to N-API v3.

In addition to the methods and properties previously added by @ccollie in PR #35, this PR adds the following methods:

linearcounts
logcounts
recordedcounts

See issue #34.

@mcollina
Copy link
Owner

mcollina commented Aug 5, 2020

It seems CI is failing, could you take a look?

@jschlight
Copy link
Collaborator Author

Yes. Environment: nodejs_version=14; Platform: x86 is failing at random for issues that appear related to AppVeyor. This CI on my fork just prior to this PR ran successfully:

https://ci.appveyor.com/project/jschlight/native-hdr-histogram/builds/34484967

@mcollina
Copy link
Owner

mcollina commented Aug 5, 2020

I would propose to move to github actions for everything, wdyt? Can you make the change?

@vweevers
Copy link
Collaborator

vweevers commented Aug 5, 2020

Or use nodejs_version: "14.2.0" which doesn't have that issue on AppVeyor.

@mcollina
Copy link
Owner

mcollina commented Aug 5, 2020

what works for you.

Copy link
Owner

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 0216a83 into mcollina:master Aug 6, 2020
@jschlight jschlight deleted the napi-support branch August 24, 2020 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants