Changeset 15483 in webkit for trunk/JavaScriptCore/API/JSObjectRef.h
- Timestamp:
- Jul 17, 2006, 2:06:57 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSObjectRef.h
r15482 r15483 67 67 68 68 void Initialize(JSContextRef ctx, JSObjectRef object, JSValueRef* exception); 69 70 Unlike the other object callbacks, the initialize callback is called on the least 71 derived class (the parent class) first, and the most derived class last. 69 72 */ 70 73 typedef void … … 78 81 79 82 void Finalize(JSObjectRef object); 83 84 The finalize callback is called on the most derived class first, and the least 85 derived class (the parent class) last. 80 86 */ 81 87 typedef void … … 225 231 @param exception A pointer to a JSValueRef in which to return an exception, if any. 226 232 @result true if possibleInstance is an instance of constructor, otherwise false. 227 228 233 @discussion If you named your function HasInstance, you would declare it like this: 229 234 … … 379 384 @param jsClass The JSClass to assign to the object. Pass NULL to use the default object class. 380 385 @param prototype The prototype to assign to the object. Pass NULL to use the default object prototype. 386 @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. 381 387 @result A JSObject with the given class and prototype. 382 388 */ 383 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, JSValueRef prototype );389 JSObjectRef JSObjectMake(JSContextRef ctx, JSClassRef jsClass, JSValueRef prototype, JSValueRef* exception); 384 390 385 391 /*!
Note:
See TracChangeset
for help on using the changeset viewer.