In the c++ function class i see the function call definition as :

class Function : public Object {
 public:
  // ........
  V8EXPORT Local<Value> Call(Handle<Object> recv,
                             int argc,
                             Handle<Value> argv[]);
// ......
};

What is the recv for in this ?

>From the c++, i am calling a function. i have a persistent handle of the 
function as 

Persistent<Value> func;
v8::Local<v8::Value> funcRetVal = 
func.As<v8::Function>()->Call(v8::Context::GetCurrent()->Global(), 
argv.size(), argv.data());

But this is not working.

Any Tips ?


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