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

Diff for /pegasus/src/Pegasus/Common/String.cpp between version 1.111.2.5 and 1.111.2.6

version 1.111.2.5, 2005/09/29 13:40:32 version 1.111.2.6, 2005/09/29 15:10:55
Line 31 
Line 31 
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
 #include <cassert>  #define PEGASUS_USE_INTERNAL_INLINES
 #include "String.h" #include "String.h"
   #include <cassert>
 #include "InternalException.h" #include "InternalException.h"
 #include "CommonUTF.h" #include "CommonUTF.h"
 #include "CharSet.h" #include "CharSet.h"
Line 46 
Line 47 
  
 //============================================================================== //==============================================================================
 // //
   // Compile-time switches (defined macros).
   //
   //     PEGASUS_STRING_ENABLE_ICU -- enables use of ICU package.
   //
   //     PEGASUS_STRING_NO_THROW -- suppresses throwing of exceptions
   //
   //     PEGASUS_STRING_NO_UTF8 -- don't generate slower UTF8 code.
   //
   //     PEGASUS_USE_INTERNAL_INLINES -- enables internal inlining feature.
   //
   //==============================================================================
   
   //==============================================================================
   //
 // File-scope definitions: // File-scope definitions:
 // //
 //============================================================================== //==============================================================================
Line 1031 
Line 1046 
 #else /* PEGASUS_STRING_ENABLE_ICU */ #else /* PEGASUS_STRING_ENABLE_ICU */
  
     // ATTN: optimize this!     // ATTN: optimize this!
   
     return String::equalNoCase(s1, String(s2));     return String::equalNoCase(s1, String(s2));
  
 #endif /* PEGASUS_STRING_ENABLE_ICU */ #endif /* PEGASUS_STRING_ENABLE_ICU */
Line 1256 
Line 1270 
  
             s.assignASCII7("hello world");             s.assignASCII7("hello world");
  
         This avoids checking for UTF8 when it is not needed.          This avoids slower UTF8 processing when not needed.
  
 ================================================================================ ================================================================================
 */ */


Legend:
Removed from v.1.111.2.5  
changed lines
  Added in v.1.111.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2