Skip to content

Can we use Nan::TypedArrayContents #637

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

Closed
LinusU opened this issue Oct 8, 2015 · 4 comments
Closed

Can we use Nan::TypedArrayContents #637

LinusU opened this issue Oct 8, 2015 · 4 comments

Comments

@LinusU
Copy link
Collaborator

LinusU commented Oct 8, 2015

@zbjornson I think that this can help some of your ifdefs, it will be released with Nan 2.1

nodejs/nan#486

@zbjornson
Copy link
Collaborator

Looks like it will help with at least some cases. Creating new typed arrays might still need directives. Will play with it when it's in release.

@LinusU
Copy link
Collaborator Author

LinusU commented Oct 9, 2015

It's already in release ;)

@LinusU
Copy link
Collaborator Author

LinusU commented Oct 23, 2015

Tried it out myself, it's super easy to use :)

encode.cc
LinusU/node-lodepng@f5b68e1

@zbjornson
Copy link
Collaborator

See also nodejs/nan#521

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

No branches or pull requests

2 participants