xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/PlatformSupport XalanDOMStringAllocator.hpp
Date Wed, 08 May 2002 00:54:46 GMT
dbertoni    02/05/07 17:54:45

  Modified:    c/src/PlatformSupport XalanDOMStringAllocator.hpp
  Log:
  Added #ifdef for certain platforms.
  
  Revision  Changes    Path
  1.3       +8 -0      xml-xalan/c/src/PlatformSupport/XalanDOMStringAllocator.hpp
  
  Index: XalanDOMStringAllocator.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanDOMStringAllocator.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanDOMStringAllocator.hpp	24 Apr 2002 04:08:06 -0000	1.2
  +++ XalanDOMStringAllocator.hpp	8 May 2002 00:54:45 -0000	1.3
  @@ -80,7 +80,15 @@
   	typedef XalanDOMString					data_type;
   	typedef data_type::size_type			data_type_size_type;
   
  +#if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
  +	typedef ArenaBlock<data_type>			ArenaBlockType;
  +
  +	typedef ArenaAllocator<data_type,
  +						   ArenaBlockType>	ArenaAllocatorType;
  +#else
   	typedef ArenaAllocator<data_type>		ArenaAllocatorType;
  +#endif
  +
   	typedef ArenaAllocatorType::size_type	size_type;
   
   	enum { eDefaultBlockSize = 32 };
  
  
  

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


Mime
View raw message