I'm having trouble getting working accessors for JS objects that represent 
native data.

You can see how I define the objects here: 
https://github.com/FlyingJester/TurboSphere/blob/galileo/plugins/common/plugin.h#L181
How I set accessors here: 
https://github.com/FlyingJester/TurboSphere/blob/galileo/plugins/common/plugin.h#L229
And how I wrap objects here: 
https://github.com/FlyingJester/TurboSphere/blob/galileo/plugins/common/plugin.h#L384

An example of how I'm using it is here: 
https://github.com/FlyingJester/TurboSphere/blob/galileo/plugins/Sapphire/color.cpp#L62
 
for initialization and here: 
https://github.com/FlyingJester/TurboSphere/blob/galileo/plugins/Sapphire/color.cpp#L24
 
for constructing and wrapping.

The objects are being wrapped and unwrapped just fine, and this used to 
work before I updated the version of V8 I'm using to 3.25. But now, when I 
attempt to access one of the members that have accessors from JS, they come 
back as undefined.

I'm not sure what is going wrong here.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to