diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-11 18:45:14 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-07-11 18:48:42 +0200 |
| commit | 8a3d3684acd4f13da57e39060ed2a88e625a1d2d (patch) | |
| tree | efe816b88b3767f7d3aa07f72b99bf33db88dde9 /fluid/Fl_Type.h | |
| parent | e5fbfcbec1fb06dc29393a70594317904610a426 (diff) | |
Fluid: fix "trailing whitespace" errors (#100)
Fluid would write trailing whitespace at some points when generating
.cxx and .h files from .fl files.
This was an old issue but became obvious since we removed trailing
whitespace from source and header files recently.
This commit fixes all whitespace errors in files generated from .fl
files in the FLTK repository, i.e. in fluid/, src/, and test/ folders.
I can't guarantee that I found all possible whitespace errors, but
this commit:
Fixes #100
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 6512ae317..7b008f092 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -874,8 +874,10 @@ int write_declare(const char *, ...) __fl_attr((__format__ (__printf__, 1, 2))); int is_id(char); const char* unique_id(void* o, const char*, const char*, const char*); void write_c(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2))); +void write_cc(const char *, int, const char*, const char*); void vwrite_c(const char* format, va_list args); void write_h(const char*, ...) __fl_attr((__format__ (__printf__, 1, 2))); +void write_hc(const char *, int, const char*, const char*); void write_cstring(const char *); void write_cstring(const char *,int length); void write_cdata(const char *,int length); |
