Changeset 15480 in webkit for trunk/JavaScriptCore/API/JSObjectRef.cpp
- Timestamp:
- Jul 16, 2006, 9:41:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.cpp
r15474 r15480 44 44 JSClassRef JSClassCreate(JSClassDefinition* definition) 45 45 { 46 JSClassRef jsClass = new __JSClass(definition);46 JSClassRef jsClass = new OpaqueJSClass(definition); 47 47 return JSClassRetain(jsClass); 48 48 } … … 76 76 } 77 77 78 JSObjectRef JSObjectMakeFunction (JSContextRef context, JSStringRef name, JSObjectCallAsFunctionCallback callAsFunction)78 JSObjectRef JSObjectMakeFunctionWithCallback(JSContextRef context, JSStringRef name, JSObjectCallAsFunctionCallback callAsFunction) 79 79 { 80 80 JSLock lock; … … 92 92 } 93 93 94 JSObjectRef JSObjectMakeFunction WithBody(JSContextRef context, JSStringRef name, unsigned parameterCount, const JSStringRef parameterNames[], JSStringRef body, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception)94 JSObjectRef JSObjectMakeFunction(JSContextRef context, JSStringRef name, unsigned parameterCount, const JSStringRef parameterNames[], JSStringRef body, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception) 95 95 { 96 96 JSLock lock; … … 298 298 } 299 299 300 struct __JSPropertyNameArray301 { 302 __JSPropertyNameArray() : refCount(0)300 struct OpaqueJSPropertyNameArray 301 { 302 OpaqueJSPropertyNameArray() : refCount(0) 303 303 { 304 304 } … … 314 314 ExecState* exec = toJS(context); 315 315 316 JSPropertyNameArrayRef propertyNames = new __JSPropertyNameArray();316 JSPropertyNameArrayRef propertyNames = new OpaqueJSPropertyNameArray(); 317 317 jsObject->getPropertyNames(exec, propertyNames->array); 318 318
Note:
See TracChangeset
for help on using the changeset viewer.