On Wed, Jan 5, 2011 at 10:23 AM, Andrey <[email protected]> wrote:
> When I use SetNamedPropertyHandler, I can call any method for this
> object, if I return function in getter.
> But when in JS I call method with arguments, in corresponding C++
> function args.Length() always return 0.
> How can I get the arguments in this C++ function?

Can you show some code? If you call o.foo(bar) and o.foo is an
property handler returning a v8::Function, then that function should
be called with Arguments of length 1.

Matthias


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

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

Reply via email to