dbertoni    2003/05/06 14:07:20

  Modified:    c/src/PlatformSupport DOMStringHelper.cpp
                        DOMStringHelper.hpp
  Log:
  Keep indexOf() out-of-line to maintain binary compatibility.
  
  Revision  Changes    Path
  1.84      +12 -0     xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp
  
  Index: DOMStringHelper.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- DOMStringHelper.cpp       5 May 2003 20:32:54 -0000       1.83
  +++ DOMStringHelper.cpp       6 May 2003 21:07:20 -0000       1.84
  @@ -224,6 +224,18 @@
   }
   
   
  +// $$$ ToDo:  This should be inlined by the 1.6 release...
  +XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION(XalanDOMString::size_type)
  +indexOf(
  +                     const XalanDOMChar*             theString,
  +                     const XalanDOMChar*             theSubstring)
  +{
  +     assert(theString != 0 && theSubstring != 0);
  +
  +     return indexOf(theString, length(theString), theSubstring, 
length(theSubstring));
  +}
  +
  +
   
   XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION(XalanDOMString::size_type)
   indexOf(
  
  
  
  1.69      +2 -7      xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp
  
  Index: DOMStringHelper.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.hpp,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- DOMStringHelper.hpp       5 May 2003 20:32:54 -0000       1.68
  +++ DOMStringHelper.hpp       6 May 2003 21:07:20 -0000       1.69
  @@ -503,15 +503,10 @@
    * or length(theString) if the string is not
    * found.
    */
  -inline XalanDOMString::size_type
  +XALAN_PLATFORMSUPPORT_EXPORT_FUNCTION(XalanDOMString::size_type)
   indexOf(
                        const XalanDOMChar*             theString,
  -                     const XalanDOMChar*             theSubstring)
  -{
  -     assert(theString != 0 && theSubstring != 0);
  -
  -     return indexOf(theString, length(theString), theSubstring, 
length(theSubstring));
  -}
  +                     const XalanDOMChar*             theSubstring);
   
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to