[webkit-help] Exposing C++ objects to JavaScript through JavaScriptCore

rippel tippel rippeltippel at gmail.com
Fri Jun 22 09:41:38 PDT 2012


I need to expose some C++ classes/methods to JavaScript using
JavaScriptCore, so that they can be instantiated/called by a
JavaScript application.

I found plenty of documentation and examples regarding v8 and Node.js,
but not much about JavaScriptCore API (apart from some old or
incomplete docs, e.g. [1], [2], and [3]).

Can anyone point me to some documentation and/or examples, and/or
outline the basic steps for doing it?

Kind regards,

[1] http://article.gmane.org/gmane.os.opendarwin.webkit.user/1067/match=javascriptcore
[2] http://developer.apple.com/library/mac/#documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/
[3] http://developer.apple.com/library/mac/#samplecode/JSPong/Introduction/Intro.html

More information about the webkit-help mailing list