Hi all
I'm trying to add a new runtime function to return the Data Pointer of an
array as a v8::NumberObject, so I can operate upon memory addresses in
other JavaScript commands. I'm having trouble constructing and returning an
object of type v8::internal::Object, since it seems like every oper
Hi, something like this should work:
RUNTIME_FUNCTION(...) {
...
return *isolate->factory()->NewNumber(number);
}
On Tue, Feb 14, 2023 at 8:19 PM Pradyumna Shome
wrote:
> Hi all
>
> I'm trying to add a new runtime function to return the Data Pointer of an
> array as a v8::NumberObject, so I c