Changeset 34372 in webkit for trunk/JavaScriptCore/kjs/PropertyNameArray.h
- Timestamp:
- Jun 4, 2008, 10:36:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/PropertyNameArray.h
r33979 r34372 20 20 */ 21 21 22 #ifndef KJS_PROPERTY_NAME_ARRAY_H23 #define KJS_PROPERTY_NAME_ARRAY_H22 #ifndef PropertyNameArray_h 23 #define PropertyNameArray_h 24 24 25 25 #include "identifier.h" … … 37 37 void add(UString::Rep*); 38 38 void addKnownUnique(UString::Rep* identifier) { m_vector.append(identifier); } 39 39 40 const_iterator begin() const { return m_vector.begin(); } 40 41 const_iterator end() const { return m_vector.end(); } 42 41 43 size_t size() const { return m_vector.size(); } 42 44 … … 45 47 46 48 Identifier* releaseIdentifiers() { return size() ? m_vector.releaseBuffer() : 0; } 49 47 50 private: 48 51 typedef HashSet<UString::Rep*, PtrHash<UString::Rep*> > IdentifierSet; … … 54 57 } // namespace KJS 55 58 56 57 #endif // KJS_PROPERTY_NAME_ARRAY_H 59 #endif // PropertyNameArray_h
Note:
See TracChangeset
for help on using the changeset viewer.