I have exposed a function setObject() through webkit idl. Suppose i have a 
javascript class like

function Player () { var speed = 5; var x = 50; var y = 50;}
var p = new Player();
setObject(p);

In webkit, i am getting the p as JSValue object. I want to retrieve the value 
of x through this JSValue object. how can i do that?
any help would be appreciated..


Sent from my iPad
_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to