diff options
author | Linus Groh <mail@linusgroh.de> | 2021-10-09 12:31:13 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-09 12:36:28 +0100 |
commit | 1fba5ca8c370ac1c42627761ddfeb8d3557e656b (patch) | |
tree | d73b95c90604fb8fef15cc12429fb8a650ccfd81 /AK/Vector.h | |
parent | f8489da8ee7408d8a4a2dda163fb36867c16ad45 (diff) | |
download | serenity-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