up please :)

On Thursday, 4 April 2013 11:47:09 UTC+1, Olivier GEORGET wrote:
>
> Hi,
>
> I'm new to V8 and have only fiddled with it. 
> Can someone please explain me the main difference between the Context 
> access functions ? There is actually 3 of them :
>
>    - v8::Context::GetCurrent();
>    - v8::Context::GetEntered();
>    - v8::Context::GetCalling();
>    
> Can see the purpose of GetCalling, but the 2 first ones sound the same to 
> me, and the doc is very frugal about it :S
>
> In the following code, I would at first expect context == curCtxTest :
>
>     v8::Handle<v8::Context> context = v8::Context::New(NULL, globalObj);
>
>     v8::Context::Scope context_scope(context);
>>     v8::Handle<v8::Context> curCtxTest = v8::Context::GetCurrent();
>
>
> Cheers,
> Olivier.
>

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