[v8-users] Is there any way to create a Handle from a Handle?

Sun, 01 Mar 2009 16:34:21 -0800

I'm trying to write a function that will execute a bit of Javascript
within an arbitrary global scope.  Something like the "evalcx"
function in the Spidermonkey shell.

I've got a function defined and exposed to the Javascript that takes
an object as an argument, and stores it as a Handle<Object>.  However,
in order to create a new execution context, I need a
Handle<ObjectTemplate>.

Is there an easy way to do this?

Thanks!

--i
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to