Changed IF_IStream::close to return an RCODE so that it is compatible with IF_OStream::close. This allows the derivation of input/output stream objects with a single close method.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@351 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-04-18 18:38:27 +00:00
parent 4e4ebe3bc7
commit 20d0865556
6 changed files with 77 additions and 95 deletions

View File

@@ -121,7 +121,7 @@ public:
F_DbRebuild * pRebuild,
FLMBOOL bRecovDictionary);
void XFLMAPI close( void);
RCODE XFLMAPI close( void);
RCODE XFLMAPI read(
void * pvBuffer,
@@ -1860,7 +1860,7 @@ Exit:
/***************************************************************************
Desc:
*****************************************************************************/
void F_RebuildNodeIStream::close( void)
RCODE F_RebuildNodeIStream::close( void)
{
if( m_pucFirstElmBlk)
{
@@ -1883,6 +1883,8 @@ void F_RebuildNodeIStream::close( void)
f_memset( &m_firstElmState, 0, sizeof( F_SCAN_STATE));
f_memset( &m_tmpState, 0, sizeof( F_SCAN_STATE));
return( NE_XFLM_OK);
}
/***************************************************************************