Ignore:
Timestamp:
Jul 16, 2006, 9:41:01 PM (19 years ago)
Author:
ggaren
Message:

Approved by Maciej, RS by Beth.


JSObjectMakeFunction -> JSObjectMakeFunctionWithCallback
JSObjectMakeFunctionWithBody -> JSObjectMakeFunction


because the latter is more common, and more fundamental, than the former.

  • API/APICast.h: (toJS):
  • API/JSBase.h:
  • API/JSCallbackObject.cpp: (KJS::JSCallbackObject::getOwnPropertySlot): (KJS::JSCallbackObject::put): (KJS::JSCallbackObject::deleteProperty): (KJS::JSCallbackObject::getPropertyNames): (KJS::JSCallbackObject::staticValueGetter): (KJS::JSCallbackObject::staticFunctionGetter):
  • API/JSClassRef.cpp: (OpaqueJSClass::OpaqueJSClass): (OpaqueJSClass::~OpaqueJSClass):
  • API/JSClassRef.h:
  • API/JSObjectRef.cpp: (JSClassCreate): (JSObjectMakeFunctionWithCallback): (JSObjectMakeFunction): (OpaqueJSPropertyNameArray::OpaqueJSPropertyNameArray): (JSObjectCopyPropertyNames):
  • API/JSObjectRef.h:
  • API/minidom.c: (main):
  • API/testapi.c: (main):
  • ChangeLog:
  • JavaScriptCore.exp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSClassRef.h

    r15468 r15480  
    5353};
    5454
    55 struct __JSClass {
    56     __JSClass(JSClassDefinition*);
    57     ~__JSClass();
     55struct OpaqueJSClass {
     56    OpaqueJSClass(JSClassDefinition*);
     57    ~OpaqueJSClass();
    5858   
    5959    typedef HashMap<RefPtr<KJS::UString::Rep>, StaticValueEntry*> StaticValuesTable;
     
    6363
    6464    KJS::UString className;
    65     __JSClass* parentClass;
     65    OpaqueJSClass* parentClass;
    6666       
    6767    StaticValuesTable* staticValues;
Note: See TracChangeset for help on using the changeset viewer.