You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2007/07/06 18:14:22 UTC
svn commit: r553941 - in /xerces/c/trunk/src/xercesc/framework:
MemBufInputSource.cpp MemBufInputSource.hpp
Author: amassari
Date: Fri Jul 6 09:14:22 2007
New Revision: 553941
URL: http://svn.apache.org/viewvc?view=rev&rev=553941
Log:
Changed MemBufInputSource to use XMLSize_t (XERCESC-1531)
Modified:
xerces/c/trunk/src/xercesc/framework/MemBufInputSource.cpp
xerces/c/trunk/src/xercesc/framework/MemBufInputSource.hpp
Modified: xerces/c/trunk/src/xercesc/framework/MemBufInputSource.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/framework/MemBufInputSource.cpp?view=diff&rev=553941&r1=553940&r2=553941
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/MemBufInputSource.cpp (original)
+++ xerces/c/trunk/src/xercesc/framework/MemBufInputSource.cpp Fri Jul 6 09:14:22 2007
@@ -32,7 +32,7 @@
// MemBufInputSource: Constructors and Destructor
// ---------------------------------------------------------------------------
MemBufInputSource::MemBufInputSource( const XMLByte* const srcDocBytes
- , const unsigned int byteCount
+ , const XMLSize_t byteCount
, const XMLCh* const bufId
, const bool adoptBuffer
, MemoryManager* const manager) :
@@ -45,7 +45,7 @@
}
MemBufInputSource::MemBufInputSource( const XMLByte* const srcDocBytes
- , const unsigned int byteCount
+ , const XMLSize_t byteCount
, const char* const bufId
, const bool adoptBuffer
, MemoryManager* const manager) :
@@ -63,8 +63,8 @@
delete [] (XMLByte*)fSrcBytes;
}
-void MemBufInputSource::resetMemBufInputSource(const XMLByte* const srcDocBytes
- , const unsigned int byteCount)
+void MemBufInputSource::resetMemBufInputSource(const XMLByte* const srcDocBytes
+ , const XMLSize_t byteCount)
{
fByteCount = byteCount;
fSrcBytes = srcDocBytes;
Modified: xerces/c/trunk/src/xercesc/framework/MemBufInputSource.hpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/framework/MemBufInputSource.hpp?view=diff&rev=553941&r1=553940&r2=553941
==============================================================================
--- xerces/c/trunk/src/xercesc/framework/MemBufInputSource.hpp (original)
+++ xerces/c/trunk/src/xercesc/framework/MemBufInputSource.hpp Fri Jul 6 09:14:22 2007
@@ -93,7 +93,7 @@
MemBufInputSource
(
const XMLByte* const srcDocBytes
- , const unsigned int byteCount
+ , const XMLSize_t byteCount
, const XMLCh* const bufId
, const bool adoptBuffer = false
, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
@@ -106,7 +106,7 @@
MemBufInputSource
(
const XMLByte* const srcDocBytes
- , const unsigned int byteCount
+ , const XMLSize_t byteCount
, const char* const bufId
, const bool adoptBuffer = false
, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
@@ -180,7 +180,7 @@
* in the buffer.
*/
void resetMemBufInputSource(const XMLByte* const srcDocBytes
- , const unsigned int byteCount);
+ , const XMLSize_t byteCount);
//@}
@@ -214,7 +214,7 @@
// fAdopted flag.
// -----------------------------------------------------------------------
bool fAdopted;
- unsigned int fByteCount;
+ XMLSize_t fByteCount;
bool fCopyBufToStream;
const XMLByte* fSrcBytes;
};
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org