Skip to content

Add helper method for accessing typedarray contents (squashed) #486

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

Conversation

mikolalysenko
Copy link
Contributor

I made a new PR for this, since the previous one was a bit cluttered and I also had a fork of NAN which used that branch, and pushing the rebased code would've broken it. This PR is rebased, squashed and merges cleanly into the master.

move typedarray contents to v8 misc helper docs

fix style errors, use const and more descriptive types

more style tweaks

style tweaks, assert on alignment and missing typedarrays

remove alignof, do not assert fail on versions < 0.8

add better alignment checks for msc, g++ and c++11

fix up signature

use __cplusplus for checking if alignof available, unify msc and gnuc fallbacks, defer assigning to data_ until after assertion

add failing test case for node 0.12

access buffer property from arraybufferview before reading in order to force v8 to externalize it

change docs to force CI to rerun

remove unneeded type qualifiers which trigger spurious warnings on gcc
@kkoopa
Copy link
Collaborator

kkoopa commented Oct 8, 2015

Merged as 17b5129

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.

2 participants