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/07/27 07:31:17 UTC

cvs commit: xml-xalan/c/src/XalanDOM XalanDOMString.hpp

dbertoni    01/07/26 22:31:17

  Modified:    c/src/XalanDOM XalanDOMString.hpp
  Log:
  Changes for Tru64.
  
  Revision  Changes    Path
  1.18      +8 -1      xml-xalan/c/src/XalanDOM/XalanDOMString.hpp
  
  Index: XalanDOMString.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XalanDOM/XalanDOMString.hpp,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- XalanDOMString.hpp	2001/06/18 21:58:07	1.17
  +++ XalanDOMString.hpp	2001/07/27 05:31:17	1.18
  @@ -102,14 +102,21 @@
   	typedef XalanDOMChar&				reference;
   	typedef const XalanDOMChar&			const_reference;
   
  -	typedef XalanDOMCharVectorType::size_type				size_type;
  +	// We're stuck with 32-bit lengths because of the DOMs IDL
  +	// bindings.  Ideally, we'ed like to re-visit this in the
  +	// future.
  +	typedef unsigned int									size_type;
   
   	typedef XalanDOMCharVectorType::iterator				iterator;
   	typedef XalanDOMCharVectorType::const_iterator			const_iterator;
   	typedef XalanDOMCharVectorType::reverse_iterator		reverse_iterator;
   	typedef XalanDOMCharVectorType::const_reverse_iterator	const_reverse_iterator;
   
  +#if defined(XALAN_INLINE_INITIALIZATION)
  +	static const size_type	npos = size_type(-1);
  +#else
   	enum { npos = -1 };
  +#endif
   
   	explicit
   	XalanDOMString();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org