Ah, the C++14/17 connection didn't occur to me -- that isn't crazy. (It's
decidedly inconvenient for non-Chromium users, but not crazy :-)
On Tue, Mar 19, 2019 at 3:03 AM Ben Noordhuis wrote:
> On Tue, Mar 19, 2019 at 2:02 AM 'Steven Johnson' via v8-users
> wrote:
> >
> > Are the details of
Thanks Ben!
Yes, I am aware of this but actually I need to retrieve this external data
*before* creating an instance using the function. Here's an example:
var myFunc = MyCustomFunction; // Here MyCustomFunction is an instance of
Local that I have registered on the global object
On Tue, Mar 19, 2019 at 9:41 AM Darin Dimitrov wrote:
>
> I am trying to associate an internal field with a Local created
> from a Local:
>
> Local ctorFuncTemplate = FunctionTemplate::New(isolate);
>
> Local ctorFunc =
> ctorFuncTemplate->GetFunction(context).ToLocalChecked();
>
>
On Tue, Mar 19, 2019 at 2:02 AM 'Steven Johnson' via v8-users
wrote:
>
> Are the details of how `use_custom_libcxx` should be set documented anywhere?
> It appears that the default for the `x64.optdebug` and `x64.debug` builds is
> to set this to true; this can cause amusing crashes if you link
I am trying to associate an internal field with a Local created
from a Local:
Local ctorFuncTemplate = FunctionTemplate::New(isolate);
Local ctorFunc =
ctorFuncTemplate->GetFunction(context).ToLocalChecked();
ctorFunc->SetInternalField(0, External::New(isolate, ptr));
This fails with