Changeset 29991 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Feb 4, 2008, 9:51:58 PM (17 years ago)
Author:
[email protected]
Message:

2008-02-04 Cameron McCormack <[email protected]>

Reviewed by Geoff Garen.

Remove some unneccesary UNUSED_PARAMs. Clarify ownership rule of return value of JSObjectCopyPropertyNames.

  • API/JSNode.c: (JSNode_appendChild): (JSNode_removeChild): (JSNode_replaceChild): (JSNode_getNodeType): (JSNode_getFirstChild):
  • API/JSNodeList.c: (JSNodeList_length):
  • API/JSObjectRef.h:
Location:
trunk/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSNode.c

    r29672 r29991  
    3737static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    3838{
    39     UNUSED_PARAM(context);
    4039    UNUSED_PARAM(function);
    4140
     
    6160static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    6261{
    63     UNUSED_PARAM(context);
    6462    UNUSED_PARAM(function);
    6563   
     
    8179static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    8280{
    83     UNUSED_PARAM(context);
    8481    UNUSED_PARAM(function);
    8582   
     
    110107static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
    111108{
    112     UNUSED_PARAM(context);
    113109    UNUSED_PARAM(propertyName);
    114110    UNUSED_PARAM(exception);
     
    137133static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception)
    138134{
    139     UNUSED_PARAM(context);
     135    UNUSED_PARAM(object);
    140136    UNUSED_PARAM(propertyName);
    141     UNUSED_PARAM(object);
    142137    UNUSED_PARAM(exception);
    143138   
  • trunk/JavaScriptCore/API/JSNodeList.c

    r29672 r29991  
    5454static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
    5555{
    56     UNUSED_PARAM(context);
    5756    UNUSED_PARAM(propertyName);
    5857    UNUSED_PARAM(exception);
  • trunk/JavaScriptCore/API/JSObjectRef.h

    r29663 r29991  
    595595@param ctx The execution context to use.
    596596@param object The object whose property names you want to get.
    597 @result A JSPropertyNameArray containing the names object's enumerable properties.
     597@result A JSPropertyNameArray containing the names object's enumerable properties. Ownership follows the Create Rule.
    598598*/
    599599JS_EXPORT JSPropertyNameArrayRef JSObjectCopyPropertyNames(JSContextRef ctx, JSObjectRef object);
  • trunk/JavaScriptCore/ChangeLog

    r29986 r29991  
     12008-02-04  Cameron McCormack <[email protected]>
     2
     3        Reviewed by Geoff Garen.
     4
     5        Remove some unneccesary UNUSED_PARAMs.  Clarify ownership rule of return value of JSObjectCopyPropertyNames.
     6
     7        * API/JSNode.c:
     8        (JSNode_appendChild):
     9        (JSNode_removeChild):
     10        (JSNode_replaceChild):
     11        (JSNode_getNodeType):
     12        (JSNode_getFirstChild):
     13        * API/JSNodeList.c:
     14        (JSNodeList_length):
     15        * API/JSObjectRef.h:
     16
    1172008-02-04  Rodney Dawes  <[email protected]>
    218
Note: See TracChangeset for help on using the changeset viewer.