Hello,

i found some hints how to create javascript functions mapped to C++ function which are callable from within the browser, but none provieded me with a solution how to actually do it.

What i want is something like a Javascript Function for this C/C++ "Callback" inside the embedding code.

void JavascriptCallback(<some string type> argument) {
}

Some Newsgroup Posts said you should use JS_DefineFunction, but i found no way to create a header from IDL for it nor does any header in the gecko SDK define it.

Can someone give me a bit of code how to actually do such a thing?

Thanks in regards,
Stefan
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to