On Sun, Oct 6, 2013 at 6:16 PM, James Lomax <[email protected]> wrote:
> So having just ported to more recent v8 I now can't figure out how to call
> the Persistent<Function>
>
> This issue can be quickly fixed by un-privatising
> Persistent<Function>::operator* and implementing an inline operator-> within
> the header. But it seems odd that it should be privatised in the first
> place? Oh well.. Hacky fixes it is then.

You can reconstruct a Local<T> with Local<T>::New(isolate, persistent).

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to