aboutsummaryrefslogtreecommitdiff
path: root/src/membuf.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
committerMike Buland <eichlan@xagasoft.com>2009-07-31 20:51:28 +0000
commitfbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a (patch)
tree4631e5b990624694b3576b037500603abce7ab8a /src/membuf.cpp
parent17ec138bb159df52fb07f2f3ba47816d58cc194e (diff)
downloadlibbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.gz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.bz2
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.tar.xz
libbu++-fbb30d35cfa10bf36d4ecb2d0eb5971c24aab26a.zip
I switched the Bu::Stream::isEOS function to be named Bu::Stream::isEos, and
also made sure the copyright is at the top of all the files, it's been too long. Anyway, this may effect some code, but not much, and it's an easy enough fix.
Diffstat (limited to 'src/membuf.cpp')
-rw-r--r--src/membuf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/membuf.cpp b/src/membuf.cpp
index f22a8de..11cc1bb 100644
--- a/src/membuf.cpp
+++ b/src/membuf.cpp
@@ -92,7 +92,7 @@ void Bu::MemBuf::setPosEnd( long pos )
92 else if( nPos > sBuf.getSize() ) nPos = sBuf.getSize(); 92 else if( nPos > sBuf.getSize() ) nPos = sBuf.getSize();
93} 93}
94 94
95bool Bu::MemBuf::isEOS() 95bool Bu::MemBuf::isEos()
96{ 96{
97 return (nPos == sBuf.getSize()); 97 return (nPos == sBuf.getSize());
98} 98}
@@ -108,12 +108,12 @@ void Bu::MemBuf::flush()
108 108
109bool Bu::MemBuf::canRead() 109bool Bu::MemBuf::canRead()
110{ 110{
111 return !isEOS(); 111 return !isEos();
112} 112}
113 113
114bool Bu::MemBuf::canWrite() 114bool Bu::MemBuf::canWrite()
115{ 115{
116 return isEOS(); 116 return isEos();
117} 117}
118 118
119bool Bu::MemBuf::isReadable() 119bool Bu::MemBuf::isReadable()