Reviewed by Maciej.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Jul 2006 01:28:25 +0000 (01:28 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Jul 2006 01:28:25 +0000 (01:28 +0000)
commit170d4424666f2fa1f961c2e1c6627253695f0ace
tree8ef98d14b8c7a4152eaeb8a4897e1e8f064ceb1d
parent0b6e7ddec6676c2e2ce4d295319b96052d32597f
    Reviewed by Maciej.

        - Moved the arguments passed to JSClassCreate into a single structure,
        called JSClassDefinition. This will enable easier structure
        migration/versioning in the future, if necessary.

        - Added support for class names.

        - kJSClassDefinitionNull replaces kJSObjectCallbacksNone.

        - JSClass is becoming a fairly complex struct, so I migrated all of its
        implementation other than reference counting to the sruct.

        - Also moved JSClass* functions in the API to JSObjectRef.cpp, since they're
        declared in JSObjectRef.h

        - Also added some more informative explanation to the class structure doc.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/API/JSCallbackObject.cpp
JavaScriptCore/API/JSClassRef.cpp
JavaScriptCore/API/JSClassRef.h
JavaScriptCore/API/JSNode.c
JavaScriptCore/API/JSNodeList.c
JavaScriptCore/API/JSObjectRef.cpp
JavaScriptCore/API/JSObjectRef.h
JavaScriptCore/API/testapi.c
JavaScriptCore/API/testapi.js
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.exp