19.03.2013 - Version 0.3.0 ported to Mac OS X
This commit is contained in:
2
pifile.h
2
pifile.h
@@ -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;}
|
||||
|
||||
Reference in New Issue
Block a user