From 867dae89929a11a421ec21af71d494ad0ecc1963 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 14 Oct 2010 23:26:25 +0000 Subject: SharedCore has more features now, which is cool, including a test to see if another object of the parent type has the same core, and another to clone the parent object. That one is pretty cool, it means you can now get a real copy when you want to, great for multi-threaded stuff. Also, two more classes are now SharedCore: Hash and Heap! --- src/archivebase.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/archivebase.h') diff --git a/src/archivebase.h b/src/archivebase.h index c871bb5..18591f0 100644 --- a/src/archivebase.h +++ b/src/archivebase.h @@ -9,6 +9,7 @@ #define BU_ARCHIVE_BASE_H #include +#include namespace Bu { @@ -19,8 +20,8 @@ namespace Bu virtual ~ArchiveBase(); virtual void close()=0; - virtual void write( const void *pData, int32_t iLength )=0; - virtual void read( void *pData, int32_t iLength )=0; + virtual void write( const void *pData, size_t iLength )=0; + virtual void read( void *pData, size_t iLength )=0; virtual bool isLoading()=0; }; -- cgit v1.2.3