如题,webkit2gtk+如何把c/c++函数绑定到js中?
类似android中的addJavascriptInterface
mWebView.addJavascriptInterface(new DemoJavaScriptInterface(), "demo");
伊谢尔伦2017-04-17 12:04:47
I have never used webkit, but wke is a emasculated version of webkit. There should be some webkits in wke. There is a jsBindFunction function in wke, which is used by js to call c++ global functions