Ignore:
Timestamp:
Jul 8, 2006, 10:42:39 AM (19 years ago)
Author:
ggaren
Message:

Reviewed by TimO.

  • Added ability to pass NULL for thisObject when calling JSObjectCallAsFunction, to match JSEvaluate.


  • API/JSObjectRef.cpp: (JSObjectCallAsFunction):
  • API/JSObjectRef.h:
  • API/testapi.c: (main):
File:
1 edited

Legend:

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

    r15225 r15233  
    442442@param context The execution context to use.
    443443@param object The JSObject to call as a function.
    444 @param thisObject The JSObject to use as 'this' in the function call.
     444@param thisObject The object to use as "this," or NULL to use the global object as "this."
    445445@param argc An integer count of the number of arguments in argv.
    446446@param argv A JSValue array of the  arguments to pass to the function.
Note: See TracChangeset for help on using the changeset viewer.