Ignore:
Timestamp:
Sep 30, 2008, 4:58:35 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-30 Sam Weinig <[email protected]>

Reviewed by Mark Rowe.

Add WebKitAvailability macros for JSObjectMakeArray, JSObjectMakeDate, JSObjectMakeError,
and JSObjectMakeRegExp

  • API/JSObjectRef.h:
File:
1 edited

Legend:

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

    r36784 r37126  
    3030#include <JavaScriptCore/JSBase.h>
    3131#include <JavaScriptCore/JSValueRef.h>
     32#include <JavaScriptCore/WebKitAvailability.h>
    3233
    3334#ifndef __cplusplus
     
    441442 is supplied, this function returns an array with one element.
    442443 */
    443 JS_EXPORT JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
     444JS_EXPORT JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_AFTER_WEBKIT_VERSION_3_1;
    444445
    445446/*!
     
    452453 @result A JSObject that is a Date.
    453454 */
    454 JS_EXPORT JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
     455JS_EXPORT JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_AFTER_WEBKIT_VERSION_3_1;
    455456
    456457/*!
     
    463464 @result A JSObject that is a Error.
    464465 */
    465 JS_EXPORT JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
     466JS_EXPORT JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_AFTER_WEBKIT_VERSION_3_1;
    466467
    467468/*!
     
    474475 @result A JSObject that is a RegExp.
    475476 */
    476 JS_EXPORT JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception);
     477JS_EXPORT JSObjectRef JSObjectMakeRegExp(JSContextRef ctx, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) AVAILABLE_AFTER_WEBKIT_VERSION_3_1;
    477478
    478479/*!
Note: See TracChangeset for help on using the changeset viewer.