Ignore:
Timestamp:
Nov 27, 2007, 8:31:51 PM (17 years ago)
Author:
[email protected]
Message:

2007-11-27 Alp Toker <[email protected]>

Reviewed by Maciej.

http://bugs.webkit.org/show_bug.cgi?id=15569
[gtk] GTK JavaScriptCore needs to export symbols for JSC API and WTF

Introduce JS_EXPORT to mark symbols to be exported as public API.

Export all public symbols in the JavaScriptCore C API.

This matches conventions for exporting symbols set by the CF and CG
frameworks.

  • API/JSBase.h:
  • API/JSContextRef.h:
  • API/JSObjectRef.h:
  • API/JSStringRef.h:
  • API/JSStringRefBSTR.h:
  • API/JSStringRefCF.h:
  • API/JSValueRef.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSContextRef.h

    r15481 r28097  
    4646@result A JSGlobalContext with a global object of class globalObjectClass.
    4747*/
    48 JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass);
     48JS_EXPORT JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass);
    4949
    5050/*!
     
    5454@result A JSGlobalContext that is the same as ctx.
    5555*/
    56 JSGlobalContextRef JSGlobalContextRetain(JSGlobalContextRef ctx);
     56JS_EXPORT JSGlobalContextRef JSGlobalContextRetain(JSGlobalContextRef ctx);
    5757
    5858/*!
     
    6161@param ctx The JSGlobalContext to release.
    6262*/
    63 void JSGlobalContextRelease(JSGlobalContextRef ctx);
     63JS_EXPORT void JSGlobalContextRelease(JSGlobalContextRef ctx);
    6464
    6565/*!
     
    6969@result ctx's global object.
    7070*/
    71 JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
     71JS_EXPORT JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);
    7272
    7373#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.