i am not getting clearly. Could you please Explain clearly.
On Apr 11, 12:27 pm, Peter Enerccio <
enerc...@gmail.com> wrote:
> Depends on how do you get a function, you can get it from an argument then
> it would be:
> v8::Local<v8::Value> func = args[x];
>
> I think there is a way to get it from Global context too.
>
> and if you have a function object you call it like that:
> v8::Persistent<v8::Function> func = v8::Persistent<v8::Function>::Cast(obj);
>
> v8::Handle<v8::Value> returnObj =
> func->Call(v8::Context::GetCurrent()->Global(),
> <argcount>, <args>);
>