diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-04-10 17:23:35 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-04-10 17:23:35 +0000 |
commit | 903e7a1e3d4fe99e9de7f4adc1e401ba871caec9 (patch) | |
tree | b907c597cf228d4fd58a771f1b65d559c2c01c89 /src/sfile.h | |
parent | b6e100b94b12f3f92ec025dc2363eaf7c0ee6662 (diff) | |
download | libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.gz libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.bz2 libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.xz libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.zip |
Wrote some cute file unit tests, and added some more error reporting to SFile.
Also fixed the stream system to use void * pointers instead of char *.
Diffstat (limited to 'src/sfile.h')
-rw-r--r-- | src/sfile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfile.h b/src/sfile.h index 304f6b7..f63b812 100644 --- a/src/sfile.h +++ b/src/sfile.h | |||
@@ -14,8 +14,8 @@ namespace Bu | |||
14 | virtual ~SFile(); | 14 | virtual ~SFile(); |
15 | 15 | ||
16 | virtual void close(); | 16 | virtual void close(); |
17 | virtual size_t read( char *pBuf, size_t nBytes ); | 17 | virtual size_t read( void *pBuf, size_t nBytes ); |
18 | virtual size_t write( const char *pBuf, size_t nBytes ); | 18 | virtual size_t write( const void *pBuf, size_t nBytes ); |
19 | 19 | ||
20 | virtual long tell(); | 20 | virtual long tell(); |
21 | virtual void seek( long offset ); | 21 | virtual void seek( long offset ); |