Changeset 29506 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jan 15, 2008, 9:23:06 PM (17 years ago)
Author:
[email protected]
Message:

Reviewed by Adam Roben.


Some tweaks to our headerdoc, suggested by David Gatwood on the docs
team.

  • API/JSBase.h:
  • API/JSObjectRef.h:
  • API/JSStringRef.h:
  • API/JSValueRef.h:
Location:
trunk/JavaScriptCore
Files:
5 edited

Legend:

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

    r28311 r29506  
    3838typedef struct OpaqueJSContext* JSGlobalContextRef;
    3939
    40 /*! @typedef JSString A UTF16 character buffer. The fundamental string representation in JavaScript. */
     40/*! @typedef JSStringRef A UTF16 character buffer. The fundamental string representation in JavaScript. */
    4141typedef struct OpaqueJSString* JSStringRef;
    4242
  • trunk/JavaScriptCore/API/JSObjectRef.h

    r28311 r29506  
    187187@discussion If you named your function GetPropertyNames, you would declare it like this:
    188188
    189 void GetPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef accumulator);
     189void GetPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames);
    190190
    191191Property name accumulators are used by JSObjectCopyPropertyNames and JavaScript for...in loops.
  • trunk/JavaScriptCore/API/JSStringRef.h

    r28097 r29506  
    3737#endif
    3838
     39#if !defined(WIN32) && !defined(_WIN32)
    3940/*!
    4041@typedef JSChar
    4142@abstract A Unicode character.
    4243*/
    43 #if !defined(WIN32) && !defined(_WIN32)
    4444    typedef unsigned short JSChar;
    4545#else
  • trunk/JavaScriptCore/API/JSValueRef.h

    r28097 r29506  
    156156@param ctx The execution context to use.
    157157@param value The JSValue to test.
    158 @param object The constructor to test against.
     158@param constructor The constructor to test against.
    159159@param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.
    160160@result true if value is an object constructed by constructor, as compared by the JS instanceof operator, otherwise false.
  • trunk/JavaScriptCore/ChangeLog

    r29505 r29506  
     12008-01-15  Geoffrey Garen  <[email protected]>
     2
     3        Reviewed by Adam Roben.
     4       
     5        Some tweaks to our headerdoc, suggested by David Gatwood on the docs
     6        team.
     7
     8        * API/JSBase.h:
     9        * API/JSObjectRef.h:
     10        * API/JSStringRef.h:
     11        * API/JSValueRef.h:
     12
    1132008-01-15  Alp Toker  <[email protected]>
    214
Note: See TracChangeset for help on using the changeset viewer.