Hello Can you help me? I'm using WebKit's JavaScriptCore from within an application to allow some logic to be implemented in script and therefore modified without recompilation. Although, I can create JavaScript functions and objects using the C API, I can't see how to give them names that can be used to reference them from script.
For example, I'm trying to use JSObjectMakeFunctionWithCallback to create a JavaScript function with a native implementation. Crucially, I'd like to then invoke this function from a script. However, the "name" parameter is apparently only "used when converting the function to string". The name I give is undefined if I use it in a script. Is what I'm trying to do possible? Many thanks Tom _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

