Changeset 529


Ignore:
Timestamp:
Apr 22, 2011, 4:15:08 AM (7 years ago)
Author:
Sam Hocevar
Message:

imlib: remove unused bFILE::set_read_buffer_size.

Location:
abuse/trunk/src/imlib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/specs.cpp

    r525 r529  
    265265int bFILE::allow_write_buffering() { return 1; }
    266266
    267 void bFILE::set_read_buffer_size(long size)
    268 {
    269   unbuffered_seek(tell(),SEEK_SET);
    270   rbuf_start=rbuf_end=0;
    271   if (rbuf)
    272     free(rbuf);
    273   rbuf_size=size;
    274   rbuf=(unsigned char *)malloc(rbuf_size);
    275 }
    276 
    277267void set_spec_main_file(char const *filename, int Search_order)
    278268{
  • abuse/trunk/src/imlib/specs.h

    r525 r529  
    115115    void write_uint8(uint8_t x);
    116116    void write_double(double x);
    117     void set_read_buffer_size(long size);
    118117};
    119118
Note: See TracChangeset for help on using the changeset viewer.