[webkit-dev] Adding Javascript object to Webkit

Geoffrey Garen ggaren at apple.com
Thu Apr 3 13:39:58 PDT 2008


> Which binding should I use that would fit the architecture best?
> Must I understand JavaScriptCore/API in order to add the object?  
> What is the life cycle of the Javascript objects?

Yes, I think using the API in JavaScriptCore/API will give you the  
best results. It's also the easiest API to come up to speed on.  
There's some example usage of the API in JavaScriptCore/API/testapi.c.

You can also find example projects @ http://developer.apple.com/samplecode/JSPong/index.html 
  and http://developer.apple.com/samplecode/JSInterpreter/index.html.

Cheers,
Geoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080403/c630e960/attachment.html


More information about the webkit-dev mailing list