Changeset 9172 in webkit for trunk/JavaScriptCore/kjs/ustring.cpp
- Timestamp:
- May 16, 2005, 11:57:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ustring.cpp
r9042 r9172 133 133 } 134 134 135 bool KJS::operator==(const KJS::CString& c1, const KJS::CString& c2)135 bool operator==(const CString& c1, const CString& c2) 136 136 { 137 137 int len = c1.size(); … … 1139 1139 } 1140 1140 1141 bool KJS::operator==(const UString& s1, const UString& s2)1141 bool operator==(const UString& s1, const UString& s2) 1142 1142 { 1143 1143 if (s1.rep->len != s2.rep->len) … … 1148 1148 } 1149 1149 1150 bool KJS::operator==(const UString& s1, const char *s2)1150 bool operator==(const UString& s1, const char *s2) 1151 1151 { 1152 1152 if (s2 == 0) { … … 1166 1166 } 1167 1167 1168 bool KJS::operator<(const UString& s1, const UString& s2)1168 bool operator<(const UString& s1, const UString& s2) 1169 1169 { 1170 1170 const int l1 = s1.size(); … … 1185 1185 } 1186 1186 1187 int KJS::compare(const UString& s1, const UString& s2)1187 int compare(const UString& s1, const UString& s2) 1188 1188 { 1189 1189 const int l1 = s1.size();
Note:
See TracChangeset
for help on using the changeset viewer.