Ignore:
Timestamp:
Jun 25, 2006, 8:12:18 PM (19 years ago)
Author:
ggaren
Message:

Reviewed by Adele.


  • Added JSConstructorMake to match JSFunctionMake, along with test code.


[ I checked in the ChangeLog before without the actual files. ]

  • API/JSObjectRef.cpp: (JSConstructorMake):
  • API/JSObjectRef.h:
  • API/testapi.c: (myConstructor_callAsConstructor): (main):
  • API/testapi.js:
  • ChangeLog:
  • JavaScriptCore.xcodeproj/project.pbxproj: Moved testapi.c to the testapi target -- this was an oversight in my earlier check-in.
File:
1 edited

Legend:

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

    r14951 r15043  
    9898// Will be assigned the built-in function prototype
    9999JSObjectRef JSFunctionMake(JSContextRef context, JSCallAsFunctionCallback callback);
     100// Will be assigned the built-in object prototype
     101JSObjectRef JSConstructorMake(JSContextRef context, JSCallAsConstructorCallback callback);
    100102
    101103JSCharBufferRef JSObjectGetDescription(JSObjectRef object);
Note: See TracChangeset for help on using the changeset viewer.