Changeset 15385 in webkit for trunk/JavaScriptCore/API/JSObjectRef.h
- Timestamp:
- Jul 12, 2006, 3:01:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.h
r15384 r15385 156 156 @typedef JSObjectAddPropertiesToListCallback 157 157 @abstract The callback invoked when adding an object's properties to a property list. 158 @param context The current execution context.159 158 @param object The JSObject whose properties need to be added to propertyList. 160 159 @param propertyList A JavaScript property list that will be used to enumerate object's properties. 161 @param exception A pointer to a JSValueRef in which to return an exception, if any.162 160 @discussion If you named your function GetPropertyList, you would declare it like this: 163 161 164 void AddPropertiesToList(JS ContextRef context, JSObjectRef object, JSPropertyListRef propertyList, JSValueRef* exception);162 void AddPropertiesToList(JSObjectRef object, JSPropertyListRef propertyList); 165 163 166 164 Use JSPropertyListAdd to add properties to propertyList. … … 169 167 */ 170 168 typedef void 171 (*JSObjectAddPropertiesToListCallback) (JS ContextRef context, JSObjectRef object, JSPropertyListRef propertyList, JSValueRef* exception);169 (*JSObjectAddPropertiesToListCallback) (JSObjectRef object, JSPropertyListRef propertyList); 172 170 173 171 /*! … … 261 259 @field setProperty The callback invoked when setting the value of a given property. 262 260 @field deleteProperty The callback invoked when deleting a given property. 263 @field getPropertyList The callback invoked when adding an object's properties to a property list.261 @field addPropertiesToList The callback invoked when adding an object's properties to a property list. 264 262 @field callAsFunction The callback invoked when an object is called as a function. 265 263 @field hasInstance The callback invoked when an object is used in an 'instanceof' expression. … … 507 505 @function 508 506 @abstract Creates an enumerator for an object's properties. 509 @param context The execution context to use.510 507 @param object The object whose properties you want to enumerate. 511 508 @result A JSPropertyEnumerator with a list of object's properties. Ownership follows the Create Rule. 512 509 */ 513 JSPropertyEnumeratorRef JSObjectCreatePropertyEnumerator(JS ContextRef context, JSObjectRef object);510 JSPropertyEnumeratorRef JSObjectCreatePropertyEnumerator(JSObjectRef object); 514 511 /*! 515 512 @function
Note:
See TracChangeset
for help on using the changeset viewer.