On Mon, Apr 1, 2013 at 3:20 PM, danijar <[email protected]> wrote:

> But is there a way to bind C++ functions to an already created context at
> runtime? Or maybe it is possible to recreate the context and adopt the
> state of the old context to a new one?


If i understand your question correctly, you simply need to add them to
your 'globals' object. You can get the global object later (without a
direct reference) with Context::GetCurrent()->Global().


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal

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