Ignore:
Timestamp:
Oct 12, 2006, 1:42:56 PM (19 years ago)
Author:
ggaren
Message:

Reviewed by Maciej.


Removed JSObjectMakeWithPrototype, clarified some comments. We really
don't want people to manage their own prototypes, so we don't want an
extra function in the API devoted to just that. People can still manage
their own prototypes if they really want by using JSObjectSetPrototype.

  • API/JSClassRef.cpp: (OpaqueJSClass::createNoAutomaticPrototype): (OpaqueJSClass::create):
  • API/JSClassRef.h:
  • API/JSObjectRef.cpp: (JSClassCreate): (JSObjectMake):
  • API/JSObjectRef.h:
  • API/testapi.c: (main):
  • JavaScriptCore.exp:
File:
1 edited

Legend:

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

    r15497 r17017  
    5858struct OpaqueJSClass {
    5959    static OpaqueJSClass* create(const JSClassDefinition*);
    60     static OpaqueJSClass* createNoPrototype(const JSClassDefinition*);
     60    static OpaqueJSClass* createNoAutomaticPrototype(const JSClassDefinition*);
    6161    ~OpaqueJSClass();
    6262   
Note: See TracChangeset for help on using the changeset viewer.