Changeset 15385 in webkit for trunk/JavaScriptCore/API/testapi.c
- Timestamp:
- Jul 12, 2006, 3:01:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/testapi.c
r15384 r15385 163 163 } 164 164 165 static void MyObject_ getPropertyList(JSContextRef context, JSObjectRef object, JSPropertyListRef propertyList, JSValueRef* exception)165 static void MyObject_addPropertiesToList(JSObjectRef object, JSPropertyListRef propertyList) 166 166 { 167 167 UNUSED_PARAM(context); … … 246 246 MyObject_setProperty, 247 247 MyObject_deleteProperty, 248 MyObject_ getPropertyList,248 MyObject_addPropertiesToList, 249 249 MyObject_callAsFunction, 250 250 MyObject_callAsConstructor, … … 538 538 JSObjectSetProperty(context, o, jsOneIString, JSValueMakeNumber(1), kJSPropertyAttributeNone); 539 539 JSObjectSetProperty(context, o, jsCFIString, JSValueMakeNumber(1), kJSPropertyAttributeDontEnum); 540 JSPropertyEnumeratorRef enumerator = JSObjectCreatePropertyEnumerator( context,o);540 JSPropertyEnumeratorRef enumerator = JSObjectCreatePropertyEnumerator(o); 541 541 int count = 0; 542 542 while (JSPropertyEnumeratorGetNextName(enumerator))
Note:
See TracChangeset
for help on using the changeset viewer.