>
> How can I convert my Local<Context> to a persistent one and then store it 
> in my instance attribute?
>

You can use

Persistent( Isolate*,  Local<Context> )

or 

Persistent( Isolate*,  Persistent<Context>& )

if you have the value available at construction time, and you can use

Persistent::Reset( Isolate*,  Local<Context>& )

or 

Persistent::Reset( Isolate*,  Persistent<Context>& )

to move a new value in later.

-- 
-- 
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