My javascript code looks like
>> function Player() { this.speed = 5; this.x = 50; this.y = 50;
this.getType = function(){
return this.x;
}
>> }

var p = new Player();
setObject(p);

i have exposed function setObject() through webkit idl and i am getting the p 
object as JSValue object.
How can i call getType() through this JSValue object??

Thanks in advance.

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

Reply via email to