diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-09-25 19:33:22 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-09-25 19:33:22 +0200 |
| commit | bc0d18c1bb6ce205f034161ea7816638b5d7f5b7 (patch) | |
| tree | de949877cd3e56856da658f88cf445457c60a257 /src/xutf8 | |
| parent | 0f12e96d138af1ea1fa371b858ee2094401621b7 (diff) | |
Enable error and EOF check in class Fl_Image_Reader (#271)
This is part 1 and a prerequisite for the fix of issue #271.
It enables the user of this internal class (Fl_{BMP|GIF}_Image)
to test for read errors and EOF (end of file) while reading.
The method used to read data from memory got an optional third
argument 'const long datasize = -1)' to limit the size of the
memory block of data provided to the image reader. Default is -1
which means "unlimited" (backwards compatibility).
Using only two arguments (w/o size limit) is deprecated and should
only be done if the data size is not available.
Diffstat (limited to 'src/xutf8')
0 files changed, 0 insertions, 0 deletions
