Changeset 37845 in webkit for trunk/JavaScriptCore/API/JSCallbackObject.h
- Timestamp:
- Oct 24, 2008, 9:22:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSCallbackObject.h
r37759 r37845 49 49 bool inherits(JSClassRef) const; 50 50 51 static PassRefPtr<StructureID> createStructureID(JSValue Ptrproto)51 static PassRefPtr<StructureID> createStructureID(JSValue* proto) 52 52 { 53 53 return StructureID::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | OverridesHasInstance)); … … 60 60 virtual bool getOwnPropertySlot(ExecState*, unsigned, PropertySlot&); 61 61 62 virtual void put(ExecState*, const Identifier&, JSValue Ptr, PutPropertySlot&);62 virtual void put(ExecState*, const Identifier&, JSValue*, PutPropertySlot&); 63 63 64 64 virtual bool deleteProperty(ExecState*, const Identifier&); 65 65 virtual bool deleteProperty(ExecState*, unsigned); 66 66 67 virtual bool hasInstance(ExecState* exec, JSValue Ptr value, JSValuePtrproto);67 virtual bool hasInstance(ExecState* exec, JSValue* value, JSValue* proto); 68 68 69 69 virtual void getPropertyNames(ExecState*, PropertyNameArray&); … … 78 78 void init(ExecState*); 79 79 80 static JSCallbackObject* asCallbackObject(JSValue Ptr);80 static JSCallbackObject* asCallbackObject(JSValue*); 81 81 82 static JSValue Ptr call(ExecState*, JSObject* functionObject, JSValuePtrthisValue, const ArgList&);82 static JSValue* call(ExecState*, JSObject* functionObject, JSValue* thisValue, const ArgList&); 83 83 static JSObject* construct(ExecState*, JSObject* constructor, const ArgList&); 84 84 85 static JSValue PtrcachedValueGetter(ExecState*, const Identifier&, const PropertySlot&);86 static JSValue PtrstaticValueGetter(ExecState*, const Identifier&, const PropertySlot&);87 static JSValue PtrstaticFunctionGetter(ExecState*, const Identifier&, const PropertySlot&);88 static JSValue PtrcallbackGetter(ExecState*, const Identifier&, const PropertySlot&);85 static JSValue* cachedValueGetter(ExecState*, const Identifier&, const PropertySlot&); 86 static JSValue* staticValueGetter(ExecState*, const Identifier&, const PropertySlot&); 87 static JSValue* staticFunctionGetter(ExecState*, const Identifier&, const PropertySlot&); 88 static JSValue* callbackGetter(ExecState*, const Identifier&, const PropertySlot&); 89 89 90 90 struct JSCallbackObjectData {
Note:
See TracChangeset
for help on using the changeset viewer.