From 10c557562e1d67c55314c212371ea9cb7f802863 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 19 Jan 2011 23:02:44 +0000 Subject: Started work adding more functions to stream, and changing to a new size type. --- src/stdstream.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/stdstream.cpp') diff --git a/src/stdstream.cpp b/src/stdstream.cpp index 32ddec4..64ca1cd 100644 --- a/src/stdstream.cpp +++ b/src/stdstream.cpp @@ -20,30 +20,30 @@ void Bu::StdStream::close() { } -size_t Bu::StdStream::read( void *pBuf, size_t nBytes ) +Bu::size Bu::StdStream::read( void *pBuf, Bu::size nBytes ) { return fread( pBuf, 1, nBytes, stdin ); } -size_t Bu::StdStream::write( const void *pBuf, size_t nBytes ) +Bu::size Bu::StdStream::write( const void *pBuf, Bu::size nBytes ) { return fwrite( pBuf, 1, nBytes, stdout ); } -long Bu::StdStream::tell() +Bu::size Bu::StdStream::tell() { return 0; } -void Bu::StdStream::seek( long ) +void Bu::StdStream::seek( Bu::size ) { } -void Bu::StdStream::setPos( long ) +void Bu::StdStream::setPos( Bu::size ) { } -void Bu::StdStream::setPosEnd( long ) +void Bu::StdStream::setPosEnd( Bu::size ) { } @@ -96,7 +96,7 @@ void Bu::StdStream::setBlocking( bool ) { } -void Bu::StdStream::setSize( long ) +void Bu::StdStream::setSize( Bu::size ) { } -- cgit v1.2.3