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 2002/05/08 02:54:46 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanDOMStringAllocator.hpp

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