Also at the bottom of that document:

Handle<FunctionTemplate> biketemplate = FunctionTemplate::New();
 biketemplate.PrototypeTemplate().Set(
     String::New("wheels"),
     FunctionTemplate::New(MyWheelsMethodCallback)
 )

I think line:

biketemplate.PrototypeTemplate().Set(

Should be:

biketemplate->PrototypeTemplate()->Set(

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

Reply via email to