Changeset 2794 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Nov 20, 2002, 5:28:08 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r2783 r2794 81 81 void *dummy; 82 82 }; 83 83 84 84 /** 85 85 * Represents an Object. This is a wrapper for ObjectImp … … 358 358 */ 359 359 void setInternalValue(const Value &v); 360 361 void saveProperties(SavedProperties &p) const; 362 void restoreProperties(const SavedProperties &p); 360 363 }; 361 364 … … 590 593 void putDirect(const Identifier &propertyName, ValueImp *value, int attr = 0); 591 594 void putDirect(const Identifier &propertyName, int value, int attr = 0); 595 596 void saveProperties(SavedProperties &p) const { _prop.save(p); } 597 void restoreProperties(const SavedProperties &p) { _prop.restore(p); } 592 598 593 599 private: … … 714 720 { imp()->setInternalValue(v); } 715 721 722 inline void Object::saveProperties(SavedProperties &p) const 723 { imp()->saveProperties(p); } 724 inline void Object::restoreProperties(const SavedProperties &p) 725 { imp()->restoreProperties(p); } 726 716 727 }; // namespace 717 728
Note:
See TracChangeset
for help on using the changeset viewer.