"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/viewbuf.h" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

viewbuf.h  (bed-3.0.3.src.tar.xz):viewbuf.h  (bed-3.1.0.src.tar.xz)
skipping to change at line 32 skipping to change at line 32
void setstart(int st) { start=st;} void setstart(int st) { start=st;}
int getstart(void) {return start;} int getstart(void) {return start;}
int getshown(void) { return shown;} int getshown(void) { return shown;}
int setshown(int sh) { return shown=sh;} int setshown(int sh) { return shown=sh;}
char *buf(void) {return str;} char *buf(void) {return str;}
int getnr(void) {return blnr;} int getnr(void) {return blnr;}
OFFTYPE getendoffset(void) {return endoffset;} OFFTYPE getendoffset(void) {return endoffset;}
OFFTYPE getoffset(void) {return offset;} OFFTYPE getoffset(void) {return offset;}
void free(void) { void free(void) {
if(str) if(str)
::free(str); alignedfree(str);
str=NULL; str=NULL;
} }
OFFTYPE fill(OFFTYPE pos,int len) ; OFFTYPE fill(OFFTYPE pos,int len) ;
OFFTYPE retain(OFFTYPE pos) ; OFFTYPE retain(OFFTYPE pos) ;
char *getdata(OFFTYPE pos,int len) ; char *getdata(OFFTYPE pos,int len) ;
~Viewbuf() { ~Viewbuf() {
free(); free();
if(tmpbuf) if(tmpbuf)
::free(tmpbuf); ::free(tmpbuf);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)