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/JSStringRefCF.h

    r19059 r28097  
    4545@result           A JSString containing string. Ownership follows the Create Rule.
    4646*/
    47 JSStringRef JSStringCreateWithCFString(CFStringRef string);
     47JS_EXPORT JSStringRef JSStringCreateWithCFString(CFStringRef string);
    4848/*!
    4949@function
     
    5353@result           A CFString containing string. Ownership follows the Create Rule.
    5454*/
    55 CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string);
     55JS_EXPORT CFStringRef JSStringCopyCFString(CFAllocatorRef alloc, JSStringRef string);
    5656   
    5757#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.