Issue 93: Error in embedder's guide
http://code.google.com/p/v8/issues/detail?id=93

New issue report by christian.plesner.hansen:
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));




Issue attributes:
        Status: Accepted
        Owner: lesleyb555
        Labels: Type-Bug Priority-Medium

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to