On Thu, Dec 23, 2010 at 3:08 PM, Vyacheslav Egorov <[email protected]>wrote:

> You are setting internal field count for instances created by the function
> not for the function itself.
>
> There is currently no method in the API to set internal field count for the
> function itself.
>

@Allan: i believe what this means, in concrete terms, for you is that you
should call SetInternalField() on the objects returned by
method_ctor->NewInstance().
Those will have, in your case, 2 empty slots which you can populate.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

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

Reply via email to