Hi all,
I am using the webkit night archive r116865, I build it with GTK port on
Ubuntu 12.04. It build successfully.
I created my own function mytest(WebKitWebView* webView) and add it in
webkitwebview.h WEBKIT_API void mytest(WebKitWebView* webView);
and webkitwebview.cpp void mytest(WebKitWebView* webView) { printf("Get in
my function!") ; }
I will can the function when the page load is completed:
void loadStatusCb(WebKitWebView *web_view, GParamSpec *pspec, gpointer data){
if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED) {
printf("get_load_status -->> WEBKIT_LOAD_FINISHED \n");
mytest(web_view) return; } }
compile and link is no problem, but when I run it I got error undefined symbol:
mytest
Do I need also configure my function in some setting file?Does any one know how
to solve it?
Thanks,Yang
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-help