Hi,
 Why func.length returns 0 in the case below?

        v8::Handle<v8::FunctionTemplate> args[3] = {
        v8::FunctionTemplate::New(),
        v8::FunctionTemplate::New(),
        v8::FunctionTemplate::New() };

        v8::Handle<v8::Signature> wsig =
v8::Signature::New(v8::Handle<v8::FunctionTemplate>(), 3, args);
        v8::Handle<v8::FunctionTemplate> fun =
v8::FunctionTemplate::New(SignatureCallback, v8::Handle<v8::Value>(),
wsig);

        g->Set(v8_str("Fun"), fun->GetFunction());
        V8RUN("Fun.length");
Thanks
Vlad

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

Reply via email to