Updated makefile.
Now remove static declarations. git-svn-id: file:///fltk/svn/fltk/trunk@198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
5f731445e7
commit
e5ce4ae66e
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_Function_Type.cxx,v 1.8 1998/12/06 15:16:23 mike Exp $"
|
// "$Id: Fl_Function_Type.cxx,v 1.9 1999/01/07 18:49:35 mike Exp $"
|
||||||
//
|
//
|
||||||
// C function type code for the Fast Light Tool Kit (FLTK).
|
// C function type code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@ -197,6 +197,13 @@ void Fl_Function_Type::write_code1() {
|
|||||||
if (havewidgets) t = "Fl_Window*";
|
if (havewidgets) t = "Fl_Window*";
|
||||||
else t = "void";
|
else t = "void";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove leading spacing and "static" declarations...
|
||||||
|
const char* t1 = t;
|
||||||
|
while (*t1==' ') t1++;
|
||||||
|
if (!strncmp(t1, "static ", 7)) t1+= 7;
|
||||||
|
while (*t1==' ') t1++;
|
||||||
|
|
||||||
const char* k = class_name();
|
const char* k = class_name();
|
||||||
if (k) {
|
if (k) {
|
||||||
write_public(public_);
|
write_public(public_);
|
||||||
@ -685,5 +692,5 @@ void Fl_Class_Type::write_code2() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_Function_Type.cxx,v 1.8 1998/12/06 15:16:23 mike Exp $".
|
// End of "$Id: Fl_Function_Type.cxx,v 1.9 1999/01/07 18:49:35 mike Exp $".
|
||||||
//
|
//
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#
|
#
|
||||||
# "$Id: Makefile,v 1.6 1998/12/06 14:59:12 mike Exp $"
|
# "$Id: Makefile,v 1.7 1999/01/07 18:49:36 mike Exp $"
|
||||||
#
|
#
|
||||||
# Fluid makefile for the Fast Light Tool Kit (FLTK).
|
# Fluid makefile for the Fast Light Tool Kit (FLTK).
|
||||||
#
|
#
|
||||||
# Copyright 1998 by Bill Spitzak and others.
|
# Copyright 1998-1999 by Bill Spitzak and others.
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Library General Public
|
# modify it under the terms of the GNU Library General Public
|
||||||
@ -94,5 +94,5 @@ rebuild:
|
|||||||
./fluid -c widget_panel.fl
|
./fluid -c widget_panel.fl
|
||||||
|
|
||||||
#
|
#
|
||||||
# End of "$Id: Makefile,v 1.6 1998/12/06 14:59:12 mike Exp $".
|
# End of "$Id: Makefile,v 1.7 1999/01/07 18:49:36 mike Exp $".
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user