I've tried an accessor with
tmpl->SetAccessor(String::New("x"), xGetter);
and attempts to write to the property silently fail.
But if I write
tmpl->SetAccessor(String::New("x"), xGetter, 0, Handle<Value>(), DEFAULT,
(PropertyAttribute)(ReadOnly|DontDelete))
then I can write to the property and a subsequent read returns the value that
I wrote.
--
Anthony Shipman Mamas don't let your babies
[EMAIL PROTECTED] grow up to be outsourced.
--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---