-
Notifications
You must be signed in to change notification settings - Fork 165
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
N-API port #946
N-API port #946
Conversation
(Image.open Image.fill Image.getPixel Image.setPixel Image.compare)
(revive more mapnik.Image tests)
…GSync Image.fromSVGBytes Image.fromSVGBytesSync (WIP) [skip ci]
Both but mostly manually.
but the tool is not very clever and here are lots of inconsistent usage (pre NAN etc) added over time so I'm manually reviewing and fixing things. /cc @Algunenano |
Makes sense. For now I'm only done an overview of the changes, trying to familiarize myself with n-api more than reviewing the changes themselves. One question that I have, but that is outside of the scope of the PR, is what changes are needed in the deployment of pre-compiled binaries since now I'd expect a single |
That's the goal ^ 👍 |
…) (WIP) [skip ci]
…demultiplySync, Image.demultiply, Image.resize, Image.resizeSync, Image.copy, Image.copySync, Image.clear, Image.clearSync (WIP) [skip ci]
…st ensure Image object stays alive while buffer is in use /cc @springmeyer
…aring buffers doesn't work as expected
… JS objects (No JS calls are allowed in Execute() which runs on separate thread)
N-API (node-addon-api)