DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L1750
Version: 2.0-feature


The first argument to Fl_Widget::callback is declared to be
  void(*f)(Fl_Widget*, void*).  If I insist on supplying
it with void(*g)(Wombat*, Voodoo*), I should bear the responsibility
of doing the cast myself.  Which I could do, by telling FLUID that
the callback function is (Fl_Callback*)(g).

I'm not convinced that having the cast generated automatically
is useful.  Reasonable people may disagree.


Link: http://www.fltk.org/str.php?L1750
Version: 2.0-feature

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to