Erik Sandberg schreef:
On Sunday 04 June 2006 17:40, Han-Wen Nienhuys wrote:
Erik Sandberg schreef:
On Saturday 03 June 2006 14:39, Han-Wen Nienhuys wrote:
Erik Sandberg schreef:
I don't understand why you have to do the non-const initializations in
get_music_list(). Isn'tthere a way to do that in construct_children, and
leave the constness?
It's just so that start/stop events only need to be created once (look at the
initialisations of start_ and stop_). If you like, I can remove those members
and use methods create_stop_event and create_start_event instead (still
avoids code duplication, but is slightly less efficient).
construct_children is also only called once. You can init start_ and
stop_ from there, and use those members in the get_music_list() function.
--
Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel