There's a few documentation errors, most of the code doesn't compile - but it's pretty obvious to fix when you try and use it. :)
Ben On 25/09/2008, at 11:18 PM, Christian Plesner Hansen wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
