Unverified Commit 0e3adddd authored by Anna Henningsen's avatar Anna Henningsen
Browse files

embedding: refactor public `ArrayBufferAllocator` API

Use a RAII approach by default, and make it possible for embedders
to use the `ArrayBufferAllocator` directly as a V8
`ArrayBuffer::Allocator`, e.g. when passing to `Isolate::CreateParams`
manually.

PR-URL: https://github.com/nodejs/node/pull/26525


Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: default avatarJoyee Cheung <joyeec9h3@gmail.com>
parent 17ab2ed3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment