19.03.2013 - Version 0.3.0 ported to Mac OS X

This commit is contained in:
peri4
2013-03-19 21:01:47 +04:00
parent 66c53a27fc
commit 02c629d6a8
10 changed files with 59 additions and 488 deletions

View File

@@ -52,7 +52,7 @@ public:
void setPath(const PIString & path) {path_ = path; if (opened_) openDevice();}
llong size();
llong pos() {if (!opened_) return -1; return ftell(fd);}
bool isEnd() {return (feof(fd) || ferror(fd));}
bool isEnd() {if (!opened_) return true; return (feof(fd) || ferror(fd));}
bool isEmpty() {return (size() <= 0);}
int precision() const {return prec;}