Allow for accessing an ArrayBuffer contents without externalizing it
authorjochen <jochen@chromium.org>
Mon, 20 Apr 2015 15:01:55 +0000 (08:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 20 Apr 2015 15:01:43 +0000 (15:01 +0000)
commitad854ea11e787a673a40b7917a955bee6d7dc253
tree783304376babb37bc10633556b131f1651ba57d3
parent8cf289ca4fcfb10c15d1840706f89a3636456f7e
Allow for accessing an ArrayBuffer contents without externalizing it

The embedder has to take appropriate steps to ensure that the
ArrayBuffer doesn't die while it's accessing the pointer, e.g. keep a
Local handle to it around

BUG=none
R=dslomov@chromium.org
LOG=y

Review URL: https://codereview.chromium.org/1095083002

Cr-Commit-Position: refs/heads/master@{#27942}
include/v8.h
src/api.cc
test/cctest/test-typedarrays.cc