Node has very basic support for wrapping objects and an experimental API to use CppHeap (Oilpan).
This PR switches the API to using v8::Object::Wrap() and v8::Object::Unwrap() instead of using regular embedder fields.
The PR is likely incomplete but enough to get basic tests to compile.
Also, the old apporach did distinguish between managed and unmanaged wrappers. Really, this distinction is gone as the new Wrap/Unrap APIs only support a single (the current) CppHeap.
Node has very basic support for wrapping objects and an experimental API to use
CppHeap
(Oilpan).This PR switches the API to using
v8::Object::Wrap()
andv8::Object::Unwrap()
instead of using regular embedder fields.The PR is likely incomplete but enough to get basic tests to compile.
Also, the old apporach did distinguish between managed and unmanaged wrappers. Really, this distinction is gone as the new Wrap/Unrap APIs only support a single (the current)
CppHeap
.