On Sun, Jan 26, 2014 at 11:16 AM, Jochen Eisinger <[email protected]>wrote:

> If you have a v8::Function you can pass the global state as first argument
> to Function::Call.
>

The point is that I'm defining the function, not calling it.  I don't
control the call site.  I don't want the call site to know about this state.

I ended up giving up on that approach and just defining a procedural
interface in my C++ code, which I will then wrap in some Javascript to give
it the API I want.

-Kenton

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