(file) Return to StringInline.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/StringInline.h between version 1.11 and 1.12

version 1.11, 2006/11/10 18:14:58 version 1.12, 2007/01/11 16:21:54
Line 97 
Line 97 
  
 PEGASUS_STRING_INLINE Uint32 String::size() const PEGASUS_STRING_INLINE Uint32 String::size() const
 { {
     return _rep->size;      return (Uint32)_rep->size;
 } }
  
 PEGASUS_STRING_INLINE const Char16* String::getChar16Data() const PEGASUS_STRING_INLINE const Char16* String::getChar16Data() const
Line 140 
Line 140 
  
 PEGASUS_STRING_INLINE String& String::assign(const char* str) PEGASUS_STRING_INLINE String& String::assign(const char* str)
 { {
     return assign(str, strlen(str));      return assign(str, (Uint32)strlen(str));
 } }
  
 PEGASUS_STRING_INLINE Uint32 String::find(const String& s) const PEGASUS_STRING_INLINE Uint32 String::find(const String& s) const
 { {
     return StringFindAux(_rep, (Char16*)&(s._rep->data[0]), s._rep->size);      return StringFindAux(_rep, (Char16*)&(s._rep->data[0]),
           (Uint32)s._rep->size);
 } }
  
 PEGASUS_STRING_INLINE String& String::append(const Char16& c) PEGASUS_STRING_INLINE String& String::append(const Char16& c)
Line 171 
Line 172 
 #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES
 PEGASUS_STRING_INLINE String& String::append(const char* str) PEGASUS_STRING_INLINE String& String::append(const char* str)
 { {
     append(str, strlen(str));      append(str, (Uint32)strlen(str));
     return *this;     return *this;
 } }
 #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */ #endif /* PEGASUS_USE_EXPERIMENTAL_INTERFACES */


Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2