Changeset 447 for trunk/JavaScriptCore/API/JSContextRef.h
- Timestamp:
- 08/20/08 13:23:52 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/API/JSContextRef.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/API/JSContextRef.h
r428 r447 71 71 @discussion JSGlobalContextCreate allocates a global object and populates it with all the 72 72 built-in JavaScript objects, such as Object, Function, String, and Array. 73 The global context is created in a unique context group. 73 74 The created context can only be used on the main thread. JavaScript values cannot be 75 shared or exchanged between contexts. 74 76 @param globalObjectClass The class to use when creating the global object. Pass 75 77 NULL to use the default object class. 76 78 @result A JSGlobalContext with a global object of class globalObjectClass. 77 79 */ 78 JS_EXPORT JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass) ;80 JS_EXPORT JSGlobalContextRef JSGlobalContextCreate(JSClassRef globalObjectClass) AVAILABLE_WEBKIT_VERSION_1_0_AND_LATER_BUT_DEPRECATED_AFTER_WEBKIT_VERSION_3_1; 79 81 80 82 /*! … … 86 88 NULL to use the default object class. 87 89 @param group The context group to use. The created global context retains the group. 90 Pass NULL to create a unique group for the context. 88 91 @result A JSGlobalContext with a global object of class globalObjectClass and a context 89 92 group equal to group.
