diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-10-26 09:08:01 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-10-26 09:08:01 +0000 |
| commit | 77484a4e2d9d3e8ab82855b2b3baf0bbe7e81ba5 (patch) | |
| tree | b36b9541b2f71af67625da5378f03c429aaea39c /fluid/Fl_Type.h | |
| parent | cf296e05655e1282cbf5a9bc5bfdfd2f4480e662 (diff) | |
FLUID writes RGB and Bitmap image data as an array of decimal numbers instead of a string since "a certain compiler by a large operating system vendor which shall remain unnamed" can not handle long strings and produces heap overflows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 9f8f98d2b..e76368c08 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -732,6 +732,7 @@ void write_c(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2))); void write_h(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2))); void write_cstring(const char *); void write_cstring(const char *,int length); +void write_cdata(const char *,int length); void write_indent(int n); void write_open(int); void write_close(int n); |
