summaryrefslogtreecommitdiff
path: root/AK/Vector.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-09 12:31:13 +0100
committerLinus Groh <mail@linusgroh.de>2021-10-09 12:36:28 +0100
commit1fba5ca8c370ac1c42627761ddfeb8d3557e656b (patch)
treed73b95c90604fb8fef15cc12429fb8a650ccfd81 /AK/Vector.h
parentf8489da8ee7408d8a4a2dda163fb36867c16ad45 (diff)
downloadserenity-1fba5ca8c370ac1c42627761ddfeb8d3557e656b.zip
LibJS: Implement the AllocateArrayBuffer() AO
This should be used instead of ArrayBuffer::create() in most places, as it uses OrdinaryCreateFromConstructor to allow for a custom prototype. The data block (ByteBuffer) is allocated separately and attached afterwards, if we didn't fail due to OOM.
Diffstat (limited to 'AK/Vector.h')
0 files changed, 0 insertions, 0 deletions