Changeset 29991 in webkit for trunk/JavaScriptCore
- Timestamp:
- Feb 4, 2008, 9:51:58 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSNode.c
r29672 r29991 37 37 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 38 38 { 39 UNUSED_PARAM(context);40 39 UNUSED_PARAM(function); 41 40 … … 61 60 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 62 61 { 63 UNUSED_PARAM(context);64 62 UNUSED_PARAM(function); 65 63 … … 81 79 static JSValueRef JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 82 80 { 83 UNUSED_PARAM(context);84 81 UNUSED_PARAM(function); 85 82 … … 110 107 static JSValueRef JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 111 108 { 112 UNUSED_PARAM(context);113 109 UNUSED_PARAM(propertyName); 114 110 UNUSED_PARAM(exception); … … 137 133 static JSValueRef JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) 138 134 { 139 UNUSED_PARAM( context);135 UNUSED_PARAM(object); 140 136 UNUSED_PARAM(propertyName); 141 UNUSED_PARAM(object);142 137 UNUSED_PARAM(exception); 143 138 -
trunk/JavaScriptCore/API/JSNodeList.c
r29672 r29991 54 54 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 55 55 { 56 UNUSED_PARAM(context);57 56 UNUSED_PARAM(propertyName); 58 57 UNUSED_PARAM(exception); -
trunk/JavaScriptCore/API/JSObjectRef.h
r29663 r29991 595 595 @param ctx The execution context to use. 596 596 @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. 598 598 */ 599 599 JS_EXPORT JSPropertyNameArrayRef JSObjectCopyPropertyNames(JSContextRef ctx, JSObjectRef object); -
trunk/JavaScriptCore/ChangeLog
r29986 r29991 1 2008-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 1 17 2008-02-04 Rodney Dawes <[email protected]> 2 18
Note:
See TracChangeset
for help on using the changeset viewer.