diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-07-09 15:04:47 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-07-09 15:04:47 +0000 |
| commit | 52cd3040d1b22d375e9770ecc04c4262e69f136b (patch) | |
| tree | e8dd5eb072880236d01d20920cdd0842bc048bd1 /fluid | |
| parent | 5dadca9c90697b2f53eab0c07685bf3fc96ab715 (diff) | |
Fl_Decl_Type::write_code1() didn't work for class destructors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 627f33f81..0cb506d2d 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Function_Type.cxx,v 1.15.2.4 1999/06/12 12:59:06 mike Exp $" +// "$Id: Fl_Function_Type.cxx,v 1.15.2.5 1999/07/09 15:04:47 mike Exp $" // // C function type code for the Fast Light Tool Kit (FLTK). // @@ -450,7 +450,7 @@ void Fl_Decl_Type::write_code1() { const char* c = name(); if (!c) return; // handle putting #include or extern into decl: - if (!isalpha(*c) || !strncmp(c,"extern",6)) { + if ((!isalpha(*c) || !strncmp(c,"extern",6)) && *c != '~') { if (public_) write_h("%s\n", c); else @@ -660,5 +660,5 @@ void Fl_Class_Type::write_code2() { } // -// End of "$Id: Fl_Function_Type.cxx,v 1.15.2.4 1999/06/12 12:59:06 mike Exp $". +// End of "$Id: Fl_Function_Type.cxx,v 1.15.2.5 1999/07/09 15:04:47 mike Exp $". // |
