You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/01/08 19:15:07 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanOutputStreamPrintWriter.cpp XalanUTF16Transcoder.cpp

dbertoni    01/01/08 10:15:07

  Modified:    c/src/PlatformSupport XalanOutputStreamPrintWriter.cpp
                        XalanUTF16Transcoder.cpp
  Log:
  Changed XMLCh to XalanDOMChar, and XMLByte to XalanXMLByte.
  
  Revision  Changes    Path
  1.4       +8 -8      xml-xalan/c/src/PlatformSupport/XalanOutputStreamPrintWriter.cpp
  
  Index: XalanOutputStreamPrintWriter.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanOutputStreamPrintWriter.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XalanOutputStreamPrintWriter.cpp	2000/11/02 01:45:38	1.3
  +++ XalanOutputStreamPrintWriter.cpp	2001/01/08 18:15:07	1.4
  @@ -157,9 +157,9 @@
   
   void
   XalanOutputStreamPrintWriter::write(
  -			const XMLCh*	s,
  -			unsigned int	theOffset,
  -			unsigned int	theLength)
  +			const XalanDOMChar*		s,
  +			unsigned int			theOffset,
  +			unsigned int			theLength)
   {
   	assert(s != 0);
   
  @@ -183,7 +183,7 @@
   
   
   void
  -XalanOutputStreamPrintWriter::write(XMLCh	c)
  +XalanOutputStreamPrintWriter::write(XalanDOMChar	c)
   {
   	m_OutputStream.write(c);
   }
  @@ -240,8 +240,8 @@
   
   void
   XalanOutputStreamPrintWriter::print(
  -			const XMLCh*	s,
  -			unsigned int	theLength)
  +			const XalanDOMChar*		s,
  +			unsigned int			theLength)
   {
   	assert(s != 0);
   	assert(theLength >= 0 || theLength == UINT_MAX);
  @@ -331,8 +331,8 @@
   
   void
   XalanOutputStreamPrintWriter::println(
  -			const XMLCh*	s,
  -			unsigned int	theLength)
  +			const XalanDOMChar*		s,
  +			unsigned int			theLength)
   {
   	print(s, theLength);
   
  
  
  
  1.2       +2 -2      xml-xalan/c/src/PlatformSupport/XalanUTF16Transcoder.cpp
  
  Index: XalanUTF16Transcoder.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanUTF16Transcoder.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanUTF16Transcoder.cpp	2000/09/27 16:24:12	1.1
  +++ XalanUTF16Transcoder.cpp	2001/01/08 18:15:07	1.2
  @@ -96,8 +96,8 @@
   		}
   		else
   		{
  -			const XMLByte	theHighByte = XMLByte((theSourceData[theSourceEaten] & 0xFF00) >> 8);
  -			const XMLByte	theLowByte = XMLByte(theSourceData[theSourceEaten] & 0x00FF);
  +			const XalanXMLByte	theHighByte = XalanXMLByte((theSourceData[theSourceEaten] & 0xFF00) >> 8);
  +			const XalanXMLByte	theLowByte = XalanXMLByte(theSourceData[theSourceEaten] & 0x00FF);
   
   #if defined(XALAN_LITLE_ENDIAN)
   			theTarget[theTargetPosition++] = theLowByte;