Wadii,
You can see good working examples of this by examining the inspector
code in the WebKit tree.
Basically, the JSC engine only knows about C calls, so you have to
write C functions that in turn call your C++ constructor, methods,
etc. You then populate the JavaScript structure used
Hi,
Try reading
http://developer.apple.com/mac/library/documentation/Carbon/Reference/WebKit_JavaScriptCore_Ref/JSObjectRef_h/index.html#//apple_ref/c/tdef/JSClassDefinition
JSClassDefinition has a member called "callAsConstructor", that's probably the
one you want. If someone on the list knows
Hi,
I have a question about javascript/C++ bindings in webkit.
For example, I have an extern C++ class (attributes+methodes)
My objective is to access to this class from javascript like this:
var object = new mycpluplusclass();
object.getattribute;
object.mycplusplusfunction;
I know that I