[webkit-dev] EXPORT_JS changeset

Darin Adler darin at apple.com
Mon Jul 6 10:41:16 PDT 2009


On Jul 1, 2009, at 6:23 AM, Jack Wootton wrote:

> I'm interested in using the JavaScriptCore, however I'm working with  
> an old revision of WebKit - I'm unsure of exactly what version it  
> is, but the most recent entry in the changelog file in the  
> JavaScriptCore was on the 2007-10-03.

As a group, the WebKit developers don’t really support mixing and  
matching various old versions of components.

> 1. How the JavaScriptCore API can be used if there is no IMPORT /  
> EXPORT next to function definitions.  How was it used before the  
> changeset introducing JS_EXPORT?

I assume you’re asking about Windows. We used .def files to list  
exported symbols.

> 2. What happened in terms of the changes to how JSCore functions  
> were exported and when these changes were introduced?

Different platforms use different build systems, so the techniques  
required to get the public symbols exported are different. For  
example, on Mac OS X a .exp file is used to determine which symbols  
are exported from the JavaScriptCore framework.

     -- Darin



More information about the webkit-dev mailing list