Thanks for reporting this.  I've filed a bug on it,
http://code.google.com/p/v8/issues/detail?id=93, and will try to get
it sorted out asap.

On Thu, Sep 25, 2008 at 4:50 AM, Ben Nolan <[EMAIL PROTECTED]> wrote:
> Urgh - this slowed me up...
> On http://code.google.com/apis/v8/embed.html...
>   Point* p = ...;
>   Local<Object> obj = point_templ.New();
>   obj->SetInternalField(0, External::New(p));
> should be
>   Point* p = ...;
>   Local<Object> obj = point_templ->NewInstance();
>   obj->SetInternalField(0, External::New(p));
> Ben
> >
>

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

Reply via email to